Mercurial > hg > batmud > gmap2
changeset 259:90e8d193cc90 gmap2
Do not lowercase result strings from text input prompts.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 12 Apr 2014 22:23:43 +0300 |
parents | 8a8bd1d4a51c |
children | 064d0e249e70 |
files | tools/makegmaps.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/makegmaps.php Sat Apr 12 09:07:34 2014 +0300 +++ b/tools/makegmaps.php Sat Apr 12 22:23:43 2014 +0300 @@ -158,7 +158,7 @@ while (!$valid) { echo $msg."\n".($default !== FALSE ? "[".$default."]" : "")."> "; - $sprompt = strtolower(trim(fgets(STDIN))); + $sprompt = trim(fgets(STDIN)); if ($sprompt == "") $sprompt = ($default !== FALSE ? $default : "");