From 468aaba79e7f020a49c7310eb7a624bcc03849b3 Mon Sep 17 00:00:00 2001 From: Fysiks Date: Wed, 13 Feb 2013 00:29:54 -0800 Subject: [PATCH] Fix last map being duplicated for each blank line in maps file (bug 5005, r=dvander). Former-commit-id: e0bcbaeac750a494eb700dea78dd7210783d7623 --- plugins/mapchooser.sma | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index 21ba8ad9..0e0d0e90 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -275,6 +275,7 @@ loadSettings(filename[]) while (!feof(fp)) { buff[0]='^0'; + szText[0]='^0'; fgets(fp, buff, charsof(buff));