]> git.lyx.org Git - features.git/commitdiff
InsetBibtex.cpp: compilation fix
authorUwe Stöhr <uwestoehr@web.de>
Tue, 22 Apr 2008 23:09:20 +0000 (23:09 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 22 Apr 2008 23:09:20 +0000 (23:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24468 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibtex.cpp

index 17f2a1dd46339c4fcc31908072d218a165d35f18..ebc209e3b474d31e92d55d6425ae26a43e1e0138 100644 (file)
@@ -719,7 +719,7 @@ FileName InsetBibtex::getBibTeXPath(docstring const & filename, Buffer const & b
 bool InsetBibtex::addDatabase(docstring const & db)
 {
        docstring bibfiles = getParam("bibfiles");
-       if (tokenPos(bibfiles, ',', db) =! -1)
+       if (tokenPos(bibfiles, ',', db) != -1)
                return false;
        if (!bibfiles.empty())
                bibfiles += ',';