[Haiku-commits] r31185 - haiku/trunk/src/add-ons/accelerants/nvidia/engine

rudolfc at mail.berlios.de rudolfc at mail.berlios.de
Mon Jun 22 22:52:16 CEST 2009


Author: rudolfc
Date: 2009-06-22 22:52:15 +0200 (Mon, 22 Jun 2009)
New Revision: 31185
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31185&view=rev

Modified:
   haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c
Log:
fixed typo in unused routine I think.

Modified: haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c
===================================================================
--- haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c	2009-06-22 20:36:54 UTC (rev 31184)
+++ haiku/trunk/src/add-ons/accelerants/nvidia/engine/nv_info.c	2009-06-22 20:52:15 UTC (rev 31185)
@@ -2788,7 +2788,7 @@
 
 void get_panel_modes(display_mode *p1, display_mode *p2, bool *pan1, bool *pan2)
 {
-	if (si->ps.monitors |= CRTC1_TMDS)
+	if (si->ps.monitors & CRTC1_TMDS)
 	{
 		/* timing ('modeline') */
 		p1->timing = si->ps.p1_timing;
@@ -2804,7 +2804,7 @@
 	else
 		*pan1 = false;
 
-	if (si->ps.monitors |= CRTC2_TMDS)
+	if (si->ps.monitors & CRTC2_TMDS)
 	{
 		/* timing ('modeline') */
 		p2->timing = si->ps.p2_timing;




More information about the Haiku-commits mailing list