From a11ffd28452bc65d829c105371874b2f9dcf7af9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 17 Sep 2017 12:47:32 +0200 Subject: [PATCH] fixed a bug which caused some texts not to be translated --- langen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langen.cpp b/langen.cpp index a386d067..94eaf0f7 100644 --- a/langen.cpp +++ b/langen.cpp @@ -362,7 +362,7 @@ int main() { printf("hashcode hashval = 0x%x;\n\n", hashval); - printf("sentence all_sentences[%d] = {\n", size(allsent)); + printf("sentence all_sentences[] = {\n", size(allsent)); for(map::iterator it = ms.begin(); it != ms.end(); it++) { string s = it->second; @@ -374,7 +374,7 @@ int main() { } printf(" };\n\n"); - printf("fullnoun all_nouns[%d] = {\n", size(allnouns)); + printf("fullnoun all_nouns[] = {\n", size(allnouns)); for(map::iterator it = mn.begin(); it != mn.end(); it++) { string s = it->second;