InsetBibtex.cpp: compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24468 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-04-22 23:09:20 +00:00
parent bcc95ca8c8
commit 8488930e7f

View 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 += ',';