summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-06-14 14:15:38 +0200
committermouse <[email protected]>2023-06-15 11:31:03 +0800
commit79c9b8ee20cdf11c69dde173c5f04d51d5f8c778 (patch)
treebee237035428f367542e657bdf839cc7f1acff77 /po
parent8e33e604d87e90bda3cc748bc1627c164d72a16c (diff)
downloadengrampa-79c9b8ee20cdf11c69dde173c5f04d51d5f8c778.tar.bz2
engrampa-79c9b8ee20cdf11c69dde173c5f04d51d5f8c778.tar.xz
Fix MIME detection logic from #490
A blooper has been made there: * if ENABLE_MIME is set, the intention was to try, in order: magic, content, filename; but it was made filename, content, magic (which was the same as before the changes); * if ENABLE_MIME is not set, the intention was to try, in order: filename, content, magic; but it has been made magic, content, magic (notice the duplicate, and the missing "filename"). This probably doesn't change much in the wild as magic is gonna work most of the time, but it's especially problematic that the non-libmagic case doesn't have the filename test. Anyway, fix this so the code is consistent, and we retain the behavior for the non-libmagic case, and have the new expected one for the libmagic case.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions