summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--generator/generator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/generator/generator.cpp b/generator/generator.cpp index de369a4..7ec94df 100644 --- a/generator/generator.cpp +++ b/generator/generator.cpp
@@ -577,8 +577,7 @@ int main(int argc, char** argv)
577 { 577 {
578 case 1: // Noun 578 case 1: // Noun
579 { 579 {
580 auto sing = nouns[word].singular; 580 sqlite3_bind_int(ppstmt, 2, (std::any_of(std::begin(word), std::end(word), [] (char ch) {
581 sqlite3_bind_int(ppstmt, 2, (std::any_of(std::begin(sing), std::end(sing), [] (char ch) {
582 return isupper(ch); 581 return isupper(ch);
583 }) ? 1 : 0)); 582 }) ? 1 : 0));
584 583