changeset 2093:d4e4c7fadf31

Rename variable.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Sep 2019 14:49:26 +0300
parents 16fb6263ff34
children e6895fc25fc7
files mapsearch.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mapsearch.c	Thu Sep 05 14:03:18 2019 +0300
+++ b/mapsearch.c	Thu Sep 05 14:49:26 2019 +0300
@@ -1432,9 +1432,9 @@
     mapMSG(1, "Trying to load %d map specs. World origin at [%d, %d].\n",
         optNMaps, optWorldXC, optWorldYC);
 
-    for (int n = 0; n < optNMaps; n++)
+    for (int nmap = 0; nmap < optNMaps; nmap++)
     {
-        MAPInfoCtx *info = &optMaps[n];
+        MAPInfoCtx *info = &optMaps[nmap];
         FILE *fh;
 
         mapMSG(1, "Map ID '%s', data '%s', locations '%s' at [%d, %d]\n",