]> granicus.if.org Git - imagemagick/commitdiff
Fixed cast to string of Point.
authordirk <dirk@git.imagemagick.org>
Fri, 26 Dec 2014 00:15:31 +0000 (00:15 +0000)
committerdirk <dirk@git.imagemagick.org>
Fri, 26 Dec 2014 00:15:31 +0000 (00:15 +0000)
Magick++/lib/Geometry.cpp

index 4ce2e43885c30823d7d507be7985a48936d91fec..dc20ffbbe36a1af37926b0bbfac4f319045de17d 100644 (file)
@@ -591,9 +591,9 @@ Magick::Point::operator std::string() const
   point+=buffer;
 
   if (_y < 0.0)
-    point+='-';
+    point+='x-';
   else
-    point+='+';
+    point+='x+';
 
   FormatLocaleString(buffer,MaxTextExtent,"%.20g",(double) _y);
   point+=buffer;