Use || instead of or operator

It is more consistent and visual studio seems to dislike it anyway.
This commit is contained in:
Jean-Marc Lasgouttes 2019-02-28 12:03:34 +01:00
parent 2c5c397afa
commit 32d6396f88

View File

@ -3290,7 +3290,7 @@ void BufferParams::writeEncodingPreamble(otexstream & os,
break; break;
} }
} }
if (inputenc == "default" or features.isRequired("japanese")) { if (inputenc == "default" || features.isRequired("japanese")) {
// don't default to [utf8]{inputenc} with TeXLive >= 18 // don't default to [utf8]{inputenc} with TeXLive >= 18
os << "\\ifdefined\\UseRawInputEncoding\n"; os << "\\ifdefined\\UseRawInputEncoding\n";
os << " \\UseRawInputEncoding\\fi\n"; os << " \\UseRawInputEncoding\\fi\n";