Fix #H4369: what-is reporting singular of null when given only spaces
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user