From: Pasi Kallinen Date: Sat, 4 Jun 2016 05:01:55 +0000 (+0300) Subject: Fix #H4369: what-is reporting singular of null when given only spaces X-Git-Tag: NetHack-3.6.1_RC01~704 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4c14f0c34ac3d4b8f0d2fa4a305b15d7afba914;p=nethack Fix #H4369: what-is reporting singular of null when given only spaces --- diff --git a/src/pager.c b/src/pager.c index da529f253..081bd190e 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1060,6 +1060,7 @@ coord *click_cc; case '?': from_screen = FALSE; getlin("Specify what? (type the word)", out_str); + mungspaces(out_str); if (out_str[0] == '\0' || out_str[0] == '\033') return 0;