Fixup 7686af1ba8: japanese-cjk got forgotten

This commit is contained in:
Jean-Marc Lasgouttes 2019-06-08 09:45:15 +02:00
parent bc54a55491
commit d031e67fd0

View File

@ -490,6 +490,7 @@ bool Row::shortenIfNeeded(pos_type const keep, int const w, int const next_width
bool force = lang == "chinese-simplified" bool force = lang == "chinese-simplified"
|| lang == "chinese-traditional" || lang == "chinese-traditional"
|| lang == "japanese" || lang == "japanese"
|| lang == "japanese-cjk"
|| lang == "korean"; || lang == "korean";
// FIXME: is it important to check for separators? // FIXME: is it important to check for separators?
if ((!force && brk.countSeparators() == 0) || brk.pos < keep) if ((!force && brk.countSeparators() == 0) || brk.pos < keep)