mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
prevent crash in BufferParams::readGraphicsDriver()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9617 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
70f4ff1a59
commit
9b7c320e46
@ -1,3 +1,7 @@
|
||||
2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* bufferparams.C (readGraphicsDriver): prevent crash
|
||||
|
||||
2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* text2.C (setCounter): check for inInset() == 0
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user