* src/BufferParams.cpp (writeEncodingPreamble):

- correct encoding check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19171 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-07-23 16:46:26 +00:00
parent 61cb6824a6
commit 3154def278

View File

@ -1411,7 +1411,7 @@ void BufferParams::writeEncodingPreamble(odocstream & os,
texrow.newline();
}
} else if (inputenc != "default") {
switch (language->encoding()->package()) {
switch (encoding().package()) {
case Encoding::none:
break;
case Encoding::inputenc: