[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:
jonsd
2010-02-24 12:18:40 +00:00
parent c8de98e167
commit 7aab0f05c0
10 changed files with 168 additions and 23 deletions
+1 -1
View File
@@ -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;
+5
View File
@@ -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;