[mapserver-commits] r8726 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Mar 9 15:43:27 EDT 2009


Author: aboudreault
Date: 2009-03-09 15:43:25 -0400 (Mon, 09 Mar 2009)
New Revision: 8726

Modified:
   trunk/mapserver/mapgdal.c
Log:
Fix the small compare operator error

Modified: trunk/mapserver/mapgdal.c
===================================================================
--- trunk/mapserver/mapgdal.c	2009-03-09 19:30:26 UTC (rev 8725)
+++ trunk/mapserver/mapgdal.c	2009-03-09 19:43:25 UTC (rev 8726)
@@ -404,7 +404,7 @@
 /* -------------------------------------------------------------------- */
 /*  Try to save resolution in the output file.                          */
 /* -------------------------------------------------------------------- */
-    if( image->resolution <= 0 )
+    if( image->resolution > 0 )
     {
       char res[30];
 



More information about the mapserver-commits mailing list