Browse Source

CheckThousandsGroup: Fix checking heading character before thousand group

master
Samuel Thibault 3 years ago
parent
commit
fc05678e41
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/numbers.c

+ 1
- 1
src/libespeak-ng/numbers.c View File

@@ -1724,7 +1724,7 @@ static bool CheckThousandsGroup(char *word, int group_len)
return false;
}

if (IsDigit09(word[group_len]) || IsDigit09(-1))
if (IsDigit09(word[group_len]) || IsDigit09(word[-1]))
return false;

return true;

Loading…
Cancel
Save