mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-01 06:27:54 +00:00
[1.43.03]
Fix: " 50000", with leading spaces was spoken as "50". git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@238 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.43 17.Feb.10";
|
||||
const char *version_string = "1.43.03 24.Feb.10";
|
||||
const int version_phdata = 0x014220;
|
||||
|
||||
int option_device_number = -1;
|
||||
|
||||
@@ -2778,6 +2778,11 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
|
||||
pw--;
|
||||
memcpy(&num_wtab[nw], &words[ix], sizeof(WORD_TAB)*2); // the original number word, and the word after it
|
||||
|
||||
for(j=1; j<=nw; j++)
|
||||
{
|
||||
num_wtab[j].flags &= ~FLAG_MULTIPLE_SPACES; // don't use this flag for subsequent parts when splitting a number
|
||||
}
|
||||
|
||||
// include the next few characters, in case there are an ordinal indicator or other suffix
|
||||
memcpy(pn, pw, 16);
|
||||
pn[16] = 0;
|
||||
|
||||
Reference in New Issue
Block a user