From 2c9310d9355fe2d7674a808054e6a4c73ffc591e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Wed, 27 Jun 2012 23:58:16 +0200 Subject: [PATCH] tex2lyx: fix a typo tex2lyx/text.cpp: the encoding must be _set_ here --- src/tex2lyx/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index f46789c8ca..3101a75545 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -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(); }