Mercurial > hg > batmud > maputils
changeset 2499:9ed6bde2401c
Fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Jul 2023 01:19:55 +0300 |
parents | 0e60d6fdfe9f |
children | ee4e1205da3d |
files | src/mapsearch.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mapsearch.c Sun Jul 02 03:44:34 2023 +0300 +++ b/src/mapsearch.c Mon Jul 03 01:19:55 2023 +0300 @@ -255,7 +255,7 @@ goto out; } - info = &optMaps[optNMaps]; + info = &optMaps[optNMaps++]; memset(info, 0, sizeof(MAPInfoCtx)); // Check for map filename end @@ -1833,7 +1833,7 @@ { res = th_get_error(); mapERR("Could not open log file '%s' for writing: %s\n", - th_error_str(res)); + optLogFilename, th_error_str(res)); goto out; }