mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Assure we use docstring.
Cures another monolithic build error with CMake.
This commit is contained in:
parent
2a223b0933
commit
78c706e02d
@ -329,10 +329,10 @@ void GuiBibtex::updateContents()
|
||||
|
||||
docstring const & btprint = params_["btprint"];
|
||||
int btp = 0;
|
||||
if ((bibtopic && btprint == "btPrintNotCited") ||
|
||||
(!bibtopic && btprint == "btPrintAll"))
|
||||
if ((bibtopic && btprint == from_ascii("btPrintNotCited")) ||
|
||||
(!bibtopic && btprint == from_ascii("btPrintAll")))
|
||||
btp = 1;
|
||||
else if (bibtopic && btprint == "btPrintAll")
|
||||
else if (bibtopic && btprint == from_ascii("btPrintAll"))
|
||||
btp = 2;
|
||||
|
||||
btPrintCO->setCurrentIndex(btp);
|
||||
|
Loading…
Reference in New Issue
Block a user