[mapserver-commits] r9856 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 22 09:10:45 EST 2010


Author: tbonfort
Date: 2010-02-22 09:10:45 -0500 (Mon, 22 Feb 2010)
New Revision: 9856

Modified:
   trunk/mapserver/mapdraw.c
Log:
formatting fixup


Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c	2010-02-22 00:20:06 UTC (rev 9855)
+++ trunk/mapserver/mapdraw.c	2010-02-22 14:10:45 UTC (rev 9856)
@@ -148,22 +148,22 @@
         return(NULL);
     }
     else if (MS_RENDERER_PLUGIN(map->outputformat)) {
-		rendererVTableObj *renderer = map->outputformat->vtable;
+        rendererVTableObj *renderer = map->outputformat->vtable;
         map->imagecolor.alpha=255;
-		image = renderer->createImage(map->width, map->height, map->outputformat,&map->imagecolor);
+        image = renderer->createImage(map->width, map->height, map->outputformat,&map->imagecolor);
         if (image == NULL)
             return(NULL);
-		image->format = map->outputformat;
-		image->format->refcount++;
-		image->width = map->width;
-		image->height = map->height;
+        image->format = map->outputformat;
+        image->format->refcount++;
+        image->width = map->width;
+        image->height = map->height;
 
         image->resolution = map->resolution;
         image->resolutionfactor = map->resolution/map->defresolution;
-		if (map->web.imagepath)
-			image->imagepath = strdup(map->web.imagepath);
-		if (map->web.imageurl)
-			image->imageurl = strdup(map->web.imageurl);
+        if (map->web.imagepath)
+            image->imagepath = strdup(map->web.imagepath);
+        if (map->web.imageurl)
+            image->imageurl = strdup(map->web.imageurl);
 
 	}
     else if( MS_RENDERER_GD(map->outputformat) )



More information about the mapserver-commits mailing list