mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
[1.47.05a]
Fix: Speak character name of non-ascii digits (was speaking character code number). git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@342 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -539,7 +539,7 @@ static unsigned int StringToWord2(const char *string)
|
||||
int c;
|
||||
unsigned int value = 0;
|
||||
|
||||
for(ix=0; (ix<4) & ((c = string[ix]) != 0); ix++)
|
||||
for(ix=0; (ix<4) && ((c = string[ix]) != 0); ix++)
|
||||
{
|
||||
value = (value << 8) | (c & 0xff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user