From: Uwe Stöhr Date: Wed, 27 Jun 2012 21:58:16 +0000 (+0200) Subject: tex2lyx: fix a typo X-Git-Tag: 2.1.0beta1~1710 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2c9310d9355fe2d7674a808054e6a4c73ffc591e;p=features.git tex2lyx: fix a typo tex2lyx/text.cpp: the encoding must be _set_ here --- 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(); }