bufferparams.C (readGraphicsDriver): prevent crash

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9628 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-02-14 18:16:57 +00:00
parent 20279f0b0c
commit 0641903bd1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-02-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* bufferparams.C (readGraphicsDriver): prevent crash
2005-02-13 Angus Leeming <leeming@lyx.org>
* lyx_main.C (init): invoke prependEnvPath to adjust the PATH

View File

@ -277,7 +277,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");