Fix #H4369: what-is reporting singular of null when given only spaces

This commit is contained in:
Pasi Kallinen
2016-06-04 08:02:08 +03:00
parent 5009a67264
commit b4c14f0c34
+1
View File
@@ -1060,6 +1060,7 @@ coord *click_cc;
case '?': case '?':
from_screen = FALSE; from_screen = FALSE;
getlin("Specify what? (type the word)", out_str); getlin("Specify what? (type the word)", out_str);
mungspaces(out_str);
if (out_str[0] == '\0' || out_str[0] == '\033') if (out_str[0] == '\0' || out_str[0] == '\033')
return 0; return 0;