fixed error in paneldetection code on laptops... oops!

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2004-04-09 19:21:56 +00:00
parent 6746ac963e
commit e8cdc01c2f
@@ -380,7 +380,7 @@ static void detect_panels()
//we are assuming that no DVI is used as external monitor on laptops;
//otherwise we probably get into trouble here if the checked specs match.
if (si->ps.laptop && si->ps.tmds1_active && si->ps.tmds2_active &&
(DACR(FP_TG_CTRL) == DAC2R(FP_TG_CTRL)) &&
((DACR(FP_TG_CTRL) & 0x80000000) == (DAC2R(FP_TG_CTRL) & 0x80000000)) &&
(si->ps.panel1_width == si->ps.panel2_width) &&
(si->ps.panel1_height == si->ps.panel2_height))
{