Simplify flags testing (#7220)

This commit is contained in:
Sylvain Becker 2023-02-03 22:08:42 +01:00 committed by GitHub
parent dcd17f5473
commit cb6b8b0132
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 218 additions and 218 deletions

View file

@ -3295,7 +3295,7 @@ static Uint32 UTF8_getch(const char *src, size_t srclen, int *inc)
left = 1;
}
} else {
if ((p[0] & 0x80) == 0x00) {
if (!(p[0] & 0x80)) {
ch = (Uint32)p[0];
}
}