Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1171abb

Browse files
committed
isAscii: avoid dependency on _GNU_SOURCE
Fixes#158Thanks to@kenny5660 for the one liner
1 parentffc4b00 commit1171abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎api/WCharacter.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ inline bool isAlpha(int c)
6363
// that fits into the ASCII character set.
6464
inlineboolisAscii(int c)
6565
{
66-
return (isascii (c) ==0 ?false :true);
66+
return ((c & ~0x7f) !=0 ?false :true);
6767
}
6868

6969

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp