diff --git a/src/ChangeLog b/src/ChangeLog index 3fa669d737..c821baaf51 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-02-12 Georg Baum + + * bufferparams.C (readGraphicsDriver): prevent crash + 2005-02-10 Georg Baum * text2.C (setCounter): check for inInset() == 0 diff --git a/src/bufferparams.C b/src/bufferparams.C index d3c842ae87..b09857e5f7 100644 --- a/src/bufferparams.C +++ b/src/bufferparams.C @@ -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");