Separate the NUM_DFRACTION flags from the rest of the NUM_ bitmask flags.

This commit is contained in:
Reece H. Dunn
2020-04-12 10:53:04 +01:00
parent 5a8b7bdcfe
commit b8fbcf86ff
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1977,7 +1977,7 @@ static int TranslateNumber_1(Translator *tr, char *word, char *ph_out, unsigned
decimal_count++;
max_decimal_count = 2;
switch (decimal_mode = (tr->langopts.numbers & 0xe000))
switch (decimal_mode = (tr->langopts.numbers & NUM_DFRACTION_BITS))
{
case NUM_DFRACTION_4:
max_decimal_count = 5;