diff --git a/src/graphics/ChangeLog b/src/graphics/ChangeLog index c00b0b9b5b..a34418019c 100644 --- a/src/graphics/ChangeLog +++ b/src/graphics/ChangeLog @@ -1,3 +1,8 @@ +2003-02-25 Alfredo Braunstein + + * GraphicsCacheItem.C (imageConverted): move warning inside the + !success block. + 2003-02-25 Angus Leeming * PreviewLoader.C: Use equality not less than with std::find. diff --git a/src/graphics/GraphicsCacheItem.C b/src/graphics/GraphicsCacheItem.C index af6b3e4ff5..063588637e 100644 --- a/src/graphics/GraphicsCacheItem.C +++ b/src/graphics/GraphicsCacheItem.C @@ -256,9 +256,10 @@ void CacheItem::Impl::imageConverted(bool success) cc_.disconnect(); success = !file_to_load_.empty() && IsFileReadable(file_to_load_); - lyxerr[Debug::GRAPHICS] << "Unable to find converted file!" << endl; if (!success) { + lyxerr[Debug::GRAPHICS] << "Unable to find converted file!" + << endl; setStatus(ErrorConverting); if (zipped_) diff --git a/status.13x b/status.13x index b445fe279b..fe754c105b 100644 --- a/status.13x +++ b/status.13x @@ -107,4 +107,7 @@ What's new - squash a potential bug in the PreviewLoader before it bites. - don't cause a warning message to complain about starting an already running - timer. Don't start it ;-) + timer. Just don't start it ;-) + +- prevent incorrect warning message about failing to find a graphics file to + load when all is actually fine and dandy.