changeset 2109:828ccab450a5

Fix results output.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 10 Sep 2019 17:32:43 +0300
parents 5289199fce81
children 5d372493ede1
files mapsearch.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mapsearch.c	Tue Sep 10 17:31:24 2019 +0300
+++ b/mapsearch.c	Tue Sep 10 17:32:43 2019 +0300
@@ -903,12 +903,11 @@
         if (type)
         {
             vstr = th_strdup_printf(
-                "%s[\"%s\",%d,%d,%d,%d,%d]%s",
+                "%s[\"%s\",%d,%d,%d,%d]%s",
                 vstart,
                 match->map,
                 match->mx, match->my,
                 match->wx, match->wy,
-                match->marker->val,
                 vend);
 
             th_strbuf_puts(buf, &bufSize, bufLen, vstr);