]> git.lyx.org Git - features.git/blobdiff - src/bufferparams.C
in addition to the changes mentioned in ChangeLog, there is the usual batch of whites...
[features.git] / src / bufferparams.C
index f475b97410840359c3be2ff30221aa4ac7d4964e..435f7e8310e11b1098c486c042bec2247aebbac5 100644 (file)
@@ -200,13 +200,11 @@ void BufferParams::readPreamble(LyXLex & lex)
 
 void BufferParams::readLanguage(LyXLex & lex)
 {
-       string tmptok;
-       string test;
-       int n = 0;
-       
        if (!lex.next()) return;
        
-       tmptok = lex.GetString();
+       string tmptok = lex.GetString();
+       string test;
+       int n = 0;
        // check if tmptok is part of tex_babel in tex-defs.h
        while (true) {
                test = tex_babel[n++];