[mapserver-commits] r13179 - sandbox/tb-labels

svn at osgeo.org svn at osgeo.org
Tue Feb 28 11:09:04 EST 2012


Author: tbonfort
Date: 2012-02-28 08:09:04 -0800 (Tue, 28 Feb 2012)
New Revision: 13179

Modified:
   sandbox/tb-labels/maplabel.c
Log:
fix labelcache edge buffer


Modified: sandbox/tb-labels/maplabel.c
===================================================================
--- sandbox/tb-labels/maplabel.c	2012-02-28 15:39:33 UTC (rev 13178)
+++ sandbox/tb-labels/maplabel.c	2012-02-28 16:09:04 UTC (rev 13179)
@@ -682,7 +682,7 @@
   /*
    * Check against image bounds first 
    */
-  if(cachePtr->labels[0].partials) {
+  if(!cachePtr->labels[0].partials) {
     if(labelInImage(map->width, map->height, cachePtr->poly, labelcache->gutter) == MS_FALSE) {
       return MS_FALSE;
     }



More information about the mapserver-commits mailing list