summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/fx_extension.h')
-rw-r--r--core/fxcrt/fx_extension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h
index fd7b78afdb..8e9d06694f 100644
--- a/core/fxcrt/fx_extension.h
+++ b/core/fxcrt/fx_extension.h
@@ -50,8 +50,8 @@ inline bool FXSYS_iswalnum(wchar_t c) {
return u_isalnum(c);
}
-inline bool FXSYS_iswASCIIspace(wchar_t c) {
- return (c == 0x20) || (c == 0x0d) || (c == 0x0a) || (c == 0x09);
+inline bool FXSYS_iswspace(wchar_t c) {
+ return u_isspace(c);
}
inline bool FXSYS_isHexDigit(const char c) {