mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Possibly fix this bug:
To reproduce: 1) Press Cntl-N (start new file) 2) Press Alt-I, I, B (insert TOC from BibTeX) 3) Press Alt-A (Add...) 4) Double Click test 5) Press Alt-O (OK) 6) Press Alt-I C (Insert Citation) 7) Press Alt-A (Add) * familyName(): return earlier if author name is empty. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18987 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
34a2aeec9c
commit
8524ee93c3
@ -176,6 +176,9 @@ string const asValidLatexCommand(string const & input,
|
||||
|
||||
docstring const familyName(docstring const & name)
|
||||
{
|
||||
if (name.empty())
|
||||
return docstring();
|
||||
|
||||
// Very simple parser
|
||||
docstring fname = name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user