Fix for issue #120 Allow to decrease the score in the rule by adding -

This commit is contained in:
Valdis Vitolins
2016-08-24 22:16:44 +03:00
parent 16012ce5ea
commit 77d526102d
+3 -1
View File
@@ -182,7 +182,9 @@ extern "C"
#define RULE_NOVOWELS 29 // X no vowels up to word boundary
#define RULE_SPELLING 31 // W while spelling letter-by-letter
#define RULE_LAST_RULE 31
#define RULE_DEC_SCORE 33 // <
#define RULE_DEC_SCORE 60 // <
// codes over 32 are handled differently, in copmiledict.c:copy_rule_string(),
// therefore for < number should represent ASCII code
#define DOLLAR_UNPR 0x01
#define DOLLAR_NOPREFIX 0x02