Browse Source

LibC: Use __inline_isascii() in isascii()

Gunnar Beutner 4 năm trước cách đây
mục cha
commit
1e1de4a542
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Userland/Libraries/LibC/ctype.cpp

+ 1 - 1
Userland/Libraries/LibC/ctype.cpp

@@ -116,7 +116,7 @@ int islower(int c)
 #undef isascii
 #undef isascii
 int isascii(int c)
 int isascii(int c)
 {
 {
-    return ((unsigned)c <= 127);
+    return __inline_isascii(c);
 }
 }
 
 
 #undef isblank
 #undef isblank