From 565548fffe0017e46f3496e16682105ef8db1618 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sun, 31 Jan 2016 21:51:18 +0000 Subject: [PATCH] Fix building 'my' (Burmese) on Windows. --- src/libespeak-ng/dictionary.c | 2 +- src/windows/data.vcxproj | 2 +- src/windows/installer/Product.wxs | 13 ++++++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/libespeak-ng/dictionary.c b/src/libespeak-ng/dictionary.c index 3b16155c..97fb1584 100644 --- a/src/libespeak-ng/dictionary.c +++ b/src/libespeak-ng/dictionary.c @@ -310,7 +310,7 @@ const char *EncodePhonemes(const char *p, char *outptr, int *bad_phoneme) *bad_phoneme = 0; // skip initial blanks - while (isspace(*p)) + while ((uint8_t)*p < 0x80 && isspace(*p)) p++; while (((c = *p) != 0) && !isspace(c)) { diff --git a/src/windows/data.vcxproj b/src/windows/data.vcxproj index fd3e4b98..5dc0d594 100644 --- a/src/windows/data.vcxproj +++ b/src/windows/data.vcxproj @@ -308,5 +308,5 @@ - + diff --git a/src/windows/installer/Product.wxs b/src/windows/installer/Product.wxs index aae0b8d6..cf380c54 100644 --- a/src/windows/installer/Product.wxs +++ b/src/windows/installer/Product.wxs @@ -31,6 +31,7 @@ + @@ -284,6 +285,9 @@ + + + @@ -623,6 +627,9 @@ + + + @@ -758,6 +765,10 @@ + + + + @@ -1079,4 +1090,4 @@ - \ No newline at end of file +