]> git.lyx.org Git - lyx.git/commitdiff
Whoops. Was programming in perl yesterday....
authorRichard Heck <rgheck@comcast.net>
Sat, 17 Jan 2009 18:04:54 +0000 (18:04 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 17 Jan 2009 18:04:54 +0000 (18:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8

src/BiblioInfo.cpp

index 471740dc2d24110aedc5283f4fc1466184febac1..4f8ea5dda8c4c2592107b5647e3c2789b0422876 100644 (file)
@@ -76,7 +76,7 @@ docstring BibTeXInfo::getValueForKey(string const & key,
                BibTeXInfo const * const xref) const
 {
        docstring const ret = operator[](key);
-       if (!ret.empty() or !xref)
+       if (!ret.empty() || !xref)
                return ret;
        return (*xref)[key];
 }