diff --git a/src/libespeak-ng/compiledict.c b/src/libespeak-ng/compiledict.c index 5c7e0842..cd341834 100644 --- a/src/libespeak-ng/compiledict.c +++ b/src/libespeak-ng/compiledict.c @@ -171,16 +171,6 @@ typedef struct { int group3_ix; } RGROUP; -int isspace2(unsigned int c) -{ - // can't use isspace() because on Windows, isspace(0xe1) gives TRUE ! - int c2; - - if (((c2 = (c & 0xff)) == 0) || (c > ' ')) - return 0; - return 1; -} - void print_dictionary_flags(unsigned int *flags, char *buf, int buf_len) { int stress; diff --git a/src/libespeak-ng/translate.c b/src/libespeak-ng/translate.c index c8d41087..19c8ef69 100644 --- a/src/libespeak-ng/translate.c +++ b/src/libespeak-ng/translate.c @@ -265,6 +265,16 @@ static int IsSpace(unsigned int c) return iswspace(c); } +int isspace2(unsigned int c) +{ + // can't use isspace() because on Windows, isspace(0xe1) gives TRUE ! + int c2; + + if (((c2 = (c & 0xff)) == 0) || (c > ' ')) + return 0; + return 1; +} + void DeleteTranslator(Translator *tr) { if (tr->data_dictlist != NULL) diff --git a/src/libespeak-ng/translate.h b/src/libespeak-ng/translate.h index 2ff593f2..7effa4a0 100644 --- a/src/libespeak-ng/translate.h +++ b/src/libespeak-ng/translate.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2005 to 2014 by Jonathan Duddington * email: jonsd@users.sourceforge.net - * Copyright (C) 2015 Reece H. Dunn + * Copyright (C) 2015-2017 Reece H. Dunn * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by