Changed all toupper, tolower, isupper, islower and isalpha to internal defined function. Case insensitive regexp should work on Win9x now.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
uint32_t atoulx(const char* s);
|
||||
|
||||
inline word atow(const char* p) { return (word)atoi(p); }
|
||||
inline int xtoi(char c) { return isdigit(c) ? (c - '0') : (toupper(c) - ('A' - 10)); }
|
||||
inline int xtoi(char c) { return isdigit(c) ? (c - '0') : (g_toupper(c) - ('A' - 10)); }
|
||||
inline int atox(const char* s) { return (int)atoulx(s); }
|
||||
|
||||
char* ltob(char* dst, uint32_t value, int fill=32);
|
||||
|
Reference in New Issue
Block a user