Fixes a compiler error when compiling with Visual Age (by Hady Zalek).
This commit is contained in:
parent
962b6554f4
commit
7d560ed699
@ -138,7 +138,7 @@ enum CharFormat {
|
|||||||
// Returns true if c is a printable ASCII character. We test the
|
// Returns true if c is a printable ASCII character. We test the
|
||||||
// value of c directly instead of calling isprint(), which is buggy on
|
// value of c directly instead of calling isprint(), which is buggy on
|
||||||
// Windows Mobile.
|
// Windows Mobile.
|
||||||
static inline bool IsPrintableAscii(wchar_t c) {
|
inline bool IsPrintableAscii(wchar_t c) {
|
||||||
return 0x20 <= c && c <= 0x7E;
|
return 0x20 <= c && c <= 0x7E;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user