Correct bug number and typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36329 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-11-17 03:22:37 +00:00
parent c701342593
commit 7bf7fabb13
2 changed files with 5 additions and 5 deletions

View File

@ -4115,7 +4115,7 @@ int Buffer::spellCheck(DocIterator & from, DocIterator & to,
Buffer::ReadStatus Buffer::reload()
{
setBusy(true);
// c.f. bug 6587
// c.f. bug http://www.lyx.org/trac/ticket/6587
removeAutosaveFile();
// e.g., read-only status could have changed due to version control
d->filename.refresh();

View File

@ -2530,10 +2530,10 @@ bool GuiView::saveBufferIfNeeded(Buffer & buf, bool hiding)
return false;
break;
case 1:
// if we crash after this we could
// have no autosave file but I guess
// this is really improbable (Jug)
// Sometime improbable things happen, bug 6857 (ps)
// If we crash after this we could have no autosave file
// but I guess this is really improbable (Jug).
// Sometimes improbable things happen:
// - see bug http://www.lyx.org/trac/ticket/6587 (ps)
// buf.removeAutosaveFile();
if (hiding)
// revert all changes