@@ -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; |
@@ -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) |
@@ -1,7 +1,7 @@ | |||
/* | |||
* Copyright (C) 2005 to 2014 by Jonathan Duddington | |||
* email: [email protected] | |||
* 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 |