tex2lyx: fix a typo

tex2lyx/text.cpp: the encoding must be _set_ here
This commit is contained in:
Uwe Stöhr 2012-06-27 23:58:16 +02:00
parent 8f7195a251
commit 2c9310d935

View 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();
}