[mapserver-commits] r9053 - branches/branch-5-4/mapserver

svn at osgeo.org svn at osgeo.org
Thu May 28 18:30:35 EDT 2009


Author: assefa
Date: 2009-05-28 18:30:34 -0400 (Thu, 28 May 2009)
New Revision: 9053

Modified:
   branches/branch-5-4/mapserver/HISTORY.TXT
   branches/branch-5-4/mapserver/mapfile.c
Log:
 Fix error when saving the MAXLENGTH parameter (#3031)

Modified: branches/branch-5-4/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-4/mapserver/HISTORY.TXT	2009-05-28 18:56:59 UTC (rev 9052)
+++ branches/branch-5-4/mapserver/HISTORY.TXT	2009-05-28 22:30:34 UTC (rev 9053)
@@ -14,6 +14,8 @@
 Current Version:
 ----------------
 
+- Fix error when saving the MAXLENGTH parameter (#3031)
+
 - Test database connections before using them (#2932)
 
 - Support non-numeric join criteria (#2006)

Modified: branches/branch-5-4/mapserver/mapfile.c
===================================================================
--- branches/branch-5-4/mapserver/mapfile.c	2009-05-28 18:56:59 UTC (rev 9052)
+++ branches/branch-5-4/mapserver/mapfile.c	2009-05-28 22:30:34 UTC (rev 9053)
@@ -1660,7 +1660,7 @@
   writeColor(&(label->shadowcolor), stream, "  SHADOWCOLOR", tab);
   if(label->shadowsizex != 1 && label->shadowsizey != 1) fprintf(stream, "  %sSHADOWSIZE %d %d\n", tab, label->shadowsizex, label->shadowsizey);
   if(label->wrap) fprintf(stream, "  %sWRAP '%c'\n", tab, label->wrap);
-  if(label->maxlength>0) fprintf(stream, "  %sMAXLENGTH '%c'\n", tab, label->maxlength);
+  if(label->maxlength>0) fprintf(stream, "  %sMAXLENGTH %d\n", tab, label->maxlength);
   fprintf(stream, "%sEND\n", tab);  
 }
 



More information about the mapserver-commits mailing list