[postgis-tickets] r14504 - Fix debug print

Sandro Santilli strk at keybit.net
Fri Dec 18 08:32:02 PST 2015


Author: strk
Date: 2015-12-18 08:32:02 -0800 (Fri, 18 Dec 2015)
New Revision: 14504

Modified:
   trunk/liblwgeom/lwgeom_topo.c
Log:
Fix debug print

Modified: trunk/liblwgeom/lwgeom_topo.c
===================================================================
--- trunk/liblwgeom/lwgeom_topo.c	2015-12-18 16:30:51 UTC (rev 14503)
+++ trunk/liblwgeom/lwgeom_topo.c	2015-12-18 16:32:02 UTC (rev 14504)
@@ -3458,8 +3458,8 @@
                                   isclosed ? &span_pre : NULL, edge_id );
 
   LWDEBUGF(1, "edges adjacent to old edge are %" LWTFMT_ELEMID
-              " and % (first point), %" LWTFMT_ELEMID
-              " and % (last point)" LWTFMT_ELEMID,
+              " and %" LWTFMT_ELEMID " (first point), %" LWTFMT_ELEMID
+              " and %" LWTFMT_ELEMID " (last point)",
               span_pre.nextCW, span_pre.nextCCW,
               epan_pre.nextCW, epan_pre.nextCCW);
 
@@ -3496,9 +3496,8 @@
                           isclosed ? &span_post : NULL, edge_id );
 
   LWDEBUGF(1, "edges adjacent to new edge are %" LWTFMT_ELEMID
-              " and %" LWTFMT_ELEMID
-              " (first point), %" LWTFMT_ELEMID
-              " and % (last point)" LWTFMT_ELEMID,
+              " and %" LWTFMT_ELEMID " (first point), %" LWTFMT_ELEMID
+              " and %" LWTFMT_ELEMID " (last point)",
               span_pre.nextCW, span_pre.nextCCW,
               epan_pre.nextCW, epan_pre.nextCCW);
 



More information about the postgis-tickets mailing list