The last one for today have a look!

         Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Badges?  We don't need no stinking badges.

Index: src/buffer.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v
retrieving revision 1.326
diff -u -p -r1.326 buffer.C
--- src/buffer.C        24 Apr 2002 10:00:38 -0000      1.326
+++ src/buffer.C        29 Apr 2002 15:22:12 -0000
@@ -703,6 +703,9 @@ Buffer::parseSingleLyXformat2Token(LyXLe
                params.options = lex.getString();
        } else if (token == "\\language") {
                params.readLanguage(lex);
+               // we have to set our font to this language as this is not the
+               // default language of this file!
+               font.setLanguage(params.language);
        } else if (token == "\\fontencoding") {
                lex.eatLine();
        } else if (token == "\\inputencoding") {

Reply via email to