From e8f35322e8a3c6a53282eaf812d7a3bd69ba133f Mon Sep 17 00:00:00 2001 From: dirk Date: Fri, 26 Dec 2014 00:15:31 +0000 Subject: [PATCH] Fixed cast to string of Point. --- Magick++/lib/Geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Magick++/lib/Geometry.cpp b/Magick++/lib/Geometry.cpp index 4ce2e4388..dc20ffbbe 100644 --- a/Magick++/lib/Geometry.cpp +++ b/Magick++/lib/Geometry.cpp @@ -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; -- 2.40.0