[Haiku-commits] r31178 - haiku/trunk/src/servers/app/drawing/Painter

axeld at BerliOS axeld at mail.berlios.de
Mon Jun 22 13:26:16 CEST 2009


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

Modified:
   haiku/trunk/src/servers/app/drawing/Painter/Painter.cpp
Log:
* Fixed broken logic as pointed out by stippi.


Modified: haiku/trunk/src/servers/app/drawing/Painter/Painter.cpp
===================================================================
--- haiku/trunk/src/servers/app/drawing/Painter/Painter.cpp	2009-06-22 10:30:36 UTC (rev 31177)
+++ haiku/trunk/src/servers/app/drawing/Painter/Painter.cpp	2009-06-22 11:26:15 UTC (rev 31178)
@@ -351,7 +351,7 @@
 {
 	fTextRenderer.SetFont(state->Font());
 	fTextRenderer.SetAntialiasing(!state->ForceFontAliasing()
-		&& (state->Font().Flags() & B_DISABLE_ANTIALIASING) != 0);
+		&& (state->Font().Flags() & B_DISABLE_ANTIALIASING) == 0);
 }
 
 




More information about the Haiku-commits mailing list