fix a crash while importing from LaTeX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-11-24 12:00:20 +00:00
parent 1da447e8fd
commit f61322848d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
* converter.C (convert): fix a crash: this function gets
called with buffer == 0 from importer code.
2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net> 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
* text3.C (cursorPrevious): make sure that we do not compare * text3.C (cursorPrevious): make sure that we do not compare

View File

@ -355,7 +355,9 @@ bool Converters::convert(Buffer const * buffer,
dvipdfm_options(buffer->params())); dvipdfm_options(buffer->params()));
lyxerr[Debug::FILES] << "Calling " << command << endl; lyxerr[Debug::FILES] << "Calling " << command << endl;
buffer->message(_("Executing command: ") + command); if (buffer)
buffer->message(_("Executing command: ")
+ command);
Systemcall::Starttype type = (dummy) Systemcall::Starttype type = (dummy)
? Systemcall::DontWait : Systemcall::Wait; ? Systemcall::DontWait : Systemcall::Wait;