projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Magic-number elimination.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 4f46c0ac8a81dc3c9f6ffda2269b1f5a963efde9..3b48af3cf596e6700ff358a7859e141cce7f3b3c 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1089,8
+1089,8
@@
L2607:
} else
lampcheck();
- char word1[
6
];
- char word2[
6
];
+ char word1[
TOKLEN+1
];
+ char word2[
TOKLEN+1
];
packed_to_token(command.wd1, word1);
packed_to_token(command.wd2, word2);
V1 = get_vocab_id(word1);