The flag is never set anywhere so the if-clause will always evaluate to false.master
@@ -2706,10 +2706,6 @@ static const char *LookupDict2(Translator *tr, const char *word, const char *wor | |||
} | |||
} | |||
if (dictionary_flags2 & FLAG_HYPHENATED) { | |||
if (!(wflags & FLAG_HYPHEN_AFTER)) | |||
continue; | |||
} | |||
if (dictionary_flags2 & FLAG_CAPITAL) { | |||
if (!(wflags & FLAG_FIRST_UPPER)) | |||
continue; |
@@ -92,7 +92,6 @@ extern "C" | |||
#define FLAG_CAPITAL 0x200 // pronunciation if initial letter is upper case | |||
#define FLAG_ALLCAPS 0x400 // only if the word is all capitals | |||
#define FLAG_ACCENT 0x800 // character name is base-character name + accent name | |||
#define FLAG_HYPHENATED 0x1000 // multiple-words, but needs hyphen between parts 1 and 2 | |||
#define FLAG_SENTENCE 0x2000 // only if the clause is a sentence | |||
#define FLAG_ONLY 0x4000 | |||
#define FLAG_ONLY_S 0x8000 |