]> git.lyx.org Git - lyx.git/commit
Fix a bug when the language passed as an option to babel is ignored.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 22 Sep 2009 13:23:36 +0000 (13:23 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 22 Sep 2009 13:23:36 +0000 (13:23 +0000)
commitd87a67d8dca69b9e6da3b08f89ee572438fd29c1
tree46b9e326d42175b1c3bb599c26a47e9e596c41e6
parent18b808e67c5c1fcfcc5b8bcf8ee5397c6aae6f14
Fix a bug when the language passed as an option to babel is ignored.
This can be seen by trying out the document attached to ticket #6142.

The problem was that handle_opt() is not used only to parse languages,
and thus setting a lang-related bool in there is asking for trouble.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31440 a592a061-630c-0410-9148-cb99ea01b6c8
src/tex2lyx/preamble.cpp