[postgis-tickets] r16597 - Fix typo in drawPoint() in doc images generator.

Darafei komzpa at gmail.com
Wed May 30 11:32:08 PDT 2018


Author: komzpa
Date: 2018-05-30 11:32:08 -0700 (Wed, 30 May 2018)
New Revision: 16597

Modified:
   trunk/doc/html/image_src/generator.c
Log:
Fix typo in drawPoint() in doc images generator.

Issue introduced in r16296

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



Modified: trunk/doc/html/image_src/generator.c
===================================================================
--- trunk/doc/html/image_src/generator.c	2018-05-29 08:06:15 UTC (rev 16596)
+++ trunk/doc/html/image_src/generator.c	2018-05-30 18:32:08 UTC (rev 16597)
@@ -114,7 +114,7 @@
 
 	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);



More information about the postgis-tickets mailing list