]> git.lyx.org Git - features.git/commit
Fix issue with language switch in Arguments insets
authorEnrico Forestieri <forenr@lyx.org>
Wed, 11 Oct 2017 07:13:11 +0000 (09:13 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 11 Oct 2017 07:13:11 +0000 (09:13 +0200)
commitce4f39d414a26edcf54c1e24d6142e6b929586d7
treec94770f853f8f0905bf91d4a3c1388e147ed1ac9
parentd233831c1c7029c1159b8168b2026d7ad3df40c3
Fix issue with language switch in Arguments insets

In some insets such as Arguments, a local language switch has to be
used. However, if the language inside the inset was set to be equal
to the outer language, the code decided not to switch language. But
then got confused and tried to close a switch that was never opened.
This patch forces the switch even if the outer language is the same.
src/output_latex.cpp