update use HGL_FULL_SPACE in isspace function.

This commit is contained in:
hyzboy 2020-07-21 15:23:42 +08:00
parent 86a47c925e
commit 0d0d940b6d

View File

@ -157,8 +157,8 @@ namespace hgl
const bool isspace(const T ch) const bool isspace(const T ch)
{ {
return(ch==0 return(ch==0
||ch==' ' //半角空格 ||ch==' ' //半角空格
||ch==L' ' //全角空格 ||ch==HGL_FULL_SPACE //全角空格
||ch=='\t' ||ch=='\t'
||ch=='\r' ||ch=='\r'
||ch=='\f' ||ch=='\f'