mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
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:
parent
20279f0b0c
commit
0641903bd1
@ -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
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user