preamble.cpp: small cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21952 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-12-04 20:51:33 +00:00
parent 8b30acfcbe
commit 143d1ca9d8

View File

@ -197,7 +197,7 @@ void handle_package(string const & name, string const & opts)
else if (name == "inputenc") {
// only set when there is not more than one inputenc option
// therefore check for the "," character
if (opts.find(",", 0) == string::npos)
if (opts.find(",") == string::npos)
h_inputencoding = opts;
options.clear();
} else if (name == "makeidx")