]> git.lyx.org Git - features.git/commitdiff
tex2lyx: fix a typo
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 27 Jun 2012 21:58:16 +0000 (23:58 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 27 Jun 2012 21:58:16 +0000 (23:58 +0200)
tex2lyx/text.cpp: the encoding must be _set_ here

src/tex2lyx/text.cpp

index f46789c8ca31b471c9b6d4b8fdc050b7b3456bee..3101a75545cd1625c620a66065d9668dcd8a0c63 100644 (file)
@@ -1500,7 +1500,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
                        parent_context.font.language = lang_old;
                        parent_context.new_paragraph(os);
                }
-               p.getEncoding() = encoding_old;
+               p.setEncoding(encoding_old);
                p.skip_spaces();
        }