]> granicus.if.org Git - nethack/commitdiff
Mung annotation spaces
authorPasi Kallinen <paxed@alt.org>
Sun, 26 Apr 2015 07:57:21 +0000 (10:57 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 26 Apr 2015 07:57:21 +0000 (10:57 +0300)
src/dungeon.c

index 9a34aff0c154db8c37bb33e6a31301d8c52610f6..cde5b8917e2cf3c838ae52c3b9f5a6ddad44477f 100644 (file)
@@ -1869,6 +1869,7 @@ donamelevel()
 
     getlin("What do you want to call this dungeon level?", nbuf);
     if (index(nbuf, '\033')) return 0;
+    (void)mungspaces(nbuf);
 
     /* discard old annotation, if any */
     if (mptr->custom) {