]> git.lyx.org Git - features.git/commitdiff
Assure we use docstring.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Nov 2015 07:21:53 +0000 (08:21 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Nov 2015 07:21:53 +0000 (08:21 +0100)
Cures another monolithic build error with CMake.

src/frontends/qt4/GuiBibtex.cpp

index 556b79ce802fae22cfd9765681ee0fae303a0b65..8c35ced0506731d0b262045906450898b7a9a2a3 100644 (file)
@@ -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);