]> diplodocus.org Git - nmh/blobdiff - uip/show.c
fix bug where inc crashed on failing to reopen the terminal
[nmh] / uip / show.c
index 1137c391234e7f69f09fd4f7ff65d3f0c85f9ae2..5773b56ea4772bcfe9748d53f67eafb7ff3c00dd 100644 (file)
@@ -474,7 +474,7 @@ invalid:
                                *bp = '\0';
                        } else {
                            for (bp = dp; *bp; bp++)
-                               if (isspace (*bp)) {
+                               if (!istoken (*bp)) {
                                    *bp = '\0';
                                    break;
                                }