Simplify flags testing (#7220)

This commit is contained in:
Sylvain Becker authored and GitHub committed 2023-02-03 13:08:42 -08:00
1 parent dcd17f5473
commit cb6b8b0132
46 files changed
+218 -218

No files matched your search

+1 -1
View File
@@ -731,7 +731,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;