]> git.lyx.org Git - lyx.git/commitdiff
Fixup 7686af1ba8: japanese-cjk got forgotten
authorJean-Marc Lasgouttes <jean-marc.lasgouttes@inria.fr>
Sat, 8 Jun 2019 07:45:15 +0000 (09:45 +0200)
committerJean-Marc Lasgouttes <jean-marc.lasgouttes@inria.fr>
Sat, 8 Jun 2019 07:45:15 +0000 (09:45 +0200)
src/Row.cpp

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