From: Richard Heck Date: Sat, 17 Jan 2009 18:04:54 +0000 (+0000) Subject: Whoops. Was programming in perl yesterday.... X-Git-Tag: 2.0.0~7392 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4856342a1eeb7a36ce72632862f55012c8dea9e4;p=lyx.git Whoops. Was programming in perl yesterday.... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 471740dc2d..4f8ea5dda8 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -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]; }