]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.C
fix crash when collapsing ert with cursor inside
[lyx.git] / src / bufferparams.C
index d3c842ae8771341010a539954d9b75e5b32426cd..b09857e5f7c973bc9f4f6eb45a7ba8ede18557fc 100644 (file)
@@ -1224,7 +1224,7 @@ void BufferParams::readGraphicsDriver(LyXLex & lex)
                if (test == tmptok) {
                        graphicsDriver = tmptok;
                        break;
-               } else if (test == "last_item") {
+               } else if (test == "") {
                        lex.printError(
                                "Warning: graphics driver `$$Token' not recognized!\n"
                                "         Setting graphics driver to `default'.\n");