Set the logic straight

This commit is contained in:
Juergen Spitzmueller 2015-03-15 10:38:37 +01:00
parent d15388ba98
commit d9626ec6af

View File

@ -2859,7 +2859,7 @@ void BufferParams::writeEncodingPreamble(otexstream & os,
// do not load inputenc if japanese is used
// or if the class provides inputenc
if (features.isRequired("japanese")
&& features.isProvided("inputenc"))
|| features.isProvided("inputenc"))
break;
os << "\\usepackage[" << from_ascii(encoding().latexName())
<< "]{inputenc}\n";