[mapserver-commits] r10484 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Aug 27 00:18:14 EDT 2010
Author: sdlime
Date: 2010-08-27 04:18:14 +0000 (Fri, 27 Aug 2010)
New Revision: 10484
Modified:
trunk/mapserver/maperror.c
Log:
Fixed ticket #3524.
Modified: trunk/mapserver/maperror.c
===================================================================
--- trunk/mapserver/maperror.c 2010-08-27 04:15:34 UTC (rev 10483)
+++ trunk/mapserver/maperror.c 2010-08-27 04:18:14 UTC (rev 10484)
@@ -396,7 +396,7 @@
char *pFormatBuffer;
char cGDFormat[128];
if (map) {
- if( map->width != -1 && map->height != -1 )
+ if( map->width > 0 && map->height > 0 )
{
width = map->width;
height = map->height;
More information about the mapserver-commits
mailing list