From 646b2e9ee22600f128024bbf46dcecbbc1896158 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 4 Dec 2007 20:53:43 +0000 Subject: [PATCH] preamble.cpp: small cleanup git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21953 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/preamble.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index af09708bee..59e2ca9a18 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -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") -- 2.39.5