mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.47.03c]
Phoneme definition files: added prev2PhW() and next3PhW(). Added language: ms (Malay). git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@332 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -1287,10 +1287,10 @@ static int attrnumber(const wchar_t *pw, int default_value, int type)
|
||||
{//==================================================================
|
||||
int value = 0;
|
||||
|
||||
if((pw == NULL) || !isdigit(*pw))
|
||||
if((pw == NULL) || !IsDigit09(*pw))
|
||||
return(default_value);
|
||||
|
||||
while(isdigit(*pw))
|
||||
while(IsDigit09(*pw))
|
||||
{
|
||||
value = value*10 + *pw++ - '0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user