mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 07:32:32 +00:00
CheckThousandsGroup: Fix checking heading character before thousand group
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user