Backport simplify flags PR #7220

This commit is contained in:
Sylvain
2023-02-04 15:51:37 +01:00
committed by Sam Lantinga
parent f71178a16f
commit 17515f4aef
40 changed files with 176 additions and 175 deletions

View File

@@ -395,7 +395,7 @@ SDL_iconv(SDL_iconv_t cd,
left = 1;
}
} else {
if ((p[0] & 0x80) != 0x00) {
if (p[0] & 0x80) {
/* Skip illegal sequences
return SDL_ICONV_EILSEQ;
*/