]> granicus.if.org Git - postgis/commitdiff
Fix typo in drawPoint() in doc images generator.
authorDarafei Praliaskouski <me@komzpa.net>
Wed, 30 May 2018 18:32:08 +0000 (18:32 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Wed, 30 May 2018 18:32:08 +0000 (18:32 +0000)
Issue introduced in r16296

Closes #4098
Closes https://github.com/postgis/postgis/pull/252

git-svn-id: http://svn.osgeo.org/postgis/trunk@16597 b70326c6-7e19-0410-871a-916f4a2858ee

doc/html/image_src/generator.c

index b92ac54d5baa5a19ffeb8f8e3b4d1a4eade6cccb..a596bab2412fd6f069a46a576ef7e9024903086a 100644 (file)
@@ -114,7 +114,7 @@ drawPoint(char *output, LWPOINT *lwp, LAYERSTYLE *styles)
 
        lwprint_double(p.x, 10, x, OUT_DOUBLE_BUFFER_SIZE);
        lwprint_double(p.y, 10, y1, OUT_DOUBLE_BUFFER_SIZE);
-       lwprint_double(p.y + styles->pointSize, 10, y1, OUT_DOUBLE_BUFFER_SIZE);
+       lwprint_double(p.y + styles->pointSize, 10, y2, OUT_DOUBLE_BUFFER_SIZE);
 
        ptr += sprintf(ptr, "-fill %s -strokewidth 0 ", styles->pointColor);
        ptr += sprintf(ptr, "-draw \"circle %s,%s %s,%s", x, y1, x, y2);