]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtga.cpp
Rewind the input stream after failing to load image from it.
[wxWidgets.git] / src / common / imagtga.cpp
index d98ff01800d68f6438c64b9d0df388f9e94c69c3..62080d22c1f5490cb0d852ce9f6bf3e35f08ebcb 100644 (file)
@@ -669,7 +669,9 @@ bool wxTGAHandler::LoadFile(wxImage* image,
     if ( !CanRead(stream) )
     {
         if ( verbose )
+        {
             wxLogError(wxT("TGA: this is not a TGA file."));
+        }
 
         return false;
     }