]> git.lyx.org Git - features.git/commitdiff
preamble.cpp: small cleanup
authorUwe Stöhr <uwestoehr@web.de>
Tue, 4 Dec 2007 20:53:43 +0000 (20:53 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 4 Dec 2007 20:53:43 +0000 (20:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21953 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/preamble.cpp

index af09708bee35622b65a641d468f6f6dc8d31cfe8..59e2ca9a1809442da7f6c575b19b93c92141cce6 100644 (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")