diff options
-rw-r--r-- | src/map/mapreg_txt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mapreg_txt.c b/src/map/mapreg_txt.c index 53d05c98b..555b773ee 100644 --- a/src/map/mapreg_txt.c +++ b/src/map/mapreg_txt.c @@ -74,7 +74,7 @@ static void script_load_mapreg(void) int n,s,i; // read name and index - if( sscanf(line, "%255[^,],%d\t%n", varname,&i,&n) != 2 && + if( sscanf(line, "%32[^,],%d\t%n", varname,&i,&n) != 2 && (i = 0, sscanf(line,"%[^\t]\t%n", varname,&n) != 1) ) continue; |