[mapguide-commits] r1317 - trunk/MgDev/Common/Stylization

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 21 12:57:39 EDT 2007


Author: traianstanev
Date: 2007-03-21 12:57:39 -0400 (Wed, 21 Mar 2007)
New Revision: 1317

Modified:
   trunk/MgDev/Common/Stylization/GDRenderer.cpp
Log:
I need to review the difference between == and !=, since obviously I don't know what it is.

Modified: trunk/MgDev/Common/Stylization/GDRenderer.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/GDRenderer.cpp	2007-03-21 16:30:13 UTC (rev 1316)
+++ trunk/MgDev/Common/Stylization/GDRenderer.cpp	2007-03-21 16:57:39 UTC (rev 1317)
@@ -254,7 +254,7 @@
 
     // Make sure the alpha values get saved -- but only if required
     // it is faster not to save them and makes a smaller PNG
-    if (m_bgcolor.alpha() == 255)
+    if (m_bgcolor.alpha() != 255)
         gdImageSaveAlpha(im, 1);
     else 
         gdImageSaveAlpha(im, 0);



More information about the mapguide-commits mailing list