aboutsummaryrefslogtreecommitdiffstats
path: root/dictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dictionary.cpp')
-rw-r--r--dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dictionary.cpp b/dictionary.cpp
index 9fe361a..2ba6f88 100644
--- a/dictionary.cpp
+++ b/dictionary.cpp
@@ -95,7 +95,7 @@ Word Dictionary::input()
auto cnt = len;
while (cnt) {
auto b = readbyte(wordend);
- if (isspace(b) || b == '\0') {
+ if (isspace(b)) {
if (wordstart != wordend) {
Word word {wordstart, wordend};
writebyte(Dictionary::Input, cnt - 1);