Backport simplify flags PR #7220

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2023-02-09 17:19:46 -08:00
1 parent f71178a16f
commit 17515f4aef
40 files changed
+176 -175

No files matched your search

+1 -1
View File
@@ -703,7 +703,7 @@ int main(int argc, char *argv[])
if (textlen == 0) {
break;
}
if ((text[textlen - 1] & 0x80) == 0x00) {
if (!(text[textlen - 1] & 0x80)) {
/* One byte */
text[textlen - 1] = 0x00;
break;