changeset 1797:bd0e0b62c8f9

Improve some messages.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 29 Oct 2017 21:10:45 +0200
parents 4e7bf754789f
children 76dce42776f8
files mapsearch.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mapsearch.c	Sun Oct 29 21:09:20 2017 +0200
+++ b/mapsearch.c	Sun Oct 29 21:10:45 2017 +0200
@@ -761,7 +761,7 @@
             {
                 // A map search query!
                 if (len <= 10 + 1)
-                    verr = "Search pattern data too small.";
+                    verr = "Invalid search query.";
                 else
                     mapPerformSearch(wsi, udata + 10, len - 10, &verr);
             }
@@ -879,7 +879,7 @@
         MAPInfoCtx *info = &optMaps[n];
         FILE *fh;
 
-        THMSG(1, "Map file '%s', map '%s', locations '%s' @ %d, %d\n",
+        THMSG(1, "Map ID '%s', data '%s', locations '%s' @ %d, %d\n",
             info->locFile.continent,
             info->mapFilename,
             info->locFile.filename,