Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1392eb3d authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix operator precedence

Change-Id: I164708a5b76a341a185467b008ecbec98d58a6df
parent d32ab80d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -171,12 +171,12 @@ void CharacterEncodingDetector::detectAndConvert() {
            int32_t inputLength = strlen(s);
            const char *enc;

            if (!allprintable && !strcmp(name, "artist") ||
            if (!allprintable && (!strcmp(name, "artist") ||
                    !strcmp(name, "albumartist") ||
                    !strcmp(name, "composer") ||
                    !strcmp(name, "genre") ||
                    !strcmp(name, "album") ||
                    !strcmp(name, "title")) {
                    !strcmp(name, "title"))) {
                // use encoding determined from the combination of artist/album/title etc.
                enc = combinedenc;
            } else {