if (!CanRead(stream))
{
if (verbose)
+ {
wxLogError(_("PCX: this is not a PCX file."));
+ }
return false;
}
bool wxPCXHandler::DoCanRead( wxInputStream& stream )
{
- unsigned char c = stream.GetC();
+ unsigned char c = stream.GetC(); // it's ok to modify the stream position here
if ( !stream )
return false;