case wxT('5'): // RAW Grey
case wxT('6'): break;
default:
- if (verbose) wxLogError(_("PNM: File format is not recognized."));
+ if (verbose)
+ {
+ wxLogError(_("PNM: File format is not recognized."));
+ }
return false;
}
if (!ptr)
{
if (verbose)
+ {
wxLogError( _("PNM: Couldn't allocate memory.") );
+ }
return false;
}
*ptr++=(unsigned char)value; // B
if ( !buf_stream )
{
- if (verbose) wxLogError(_("PNM: File seems truncated."));
+ if (verbose)
+ {
+ wxLogError(_("PNM: File seems truncated."));
+ }
return false;
}
}
if ( !buf_stream )
{
- if (verbose) wxLogError(_("PNM: File seems truncated."));
+ if (verbose)
+ {
+ wxLogError(_("PNM: File seems truncated."));
+ }
return false;
}
}
*ptr++=value; // B
if ( !buf_stream )
{
- if (verbose) wxLogError(_("PNM: File seems truncated."));
+ if (verbose)
+ {
+ wxLogError(_("PNM: File seems truncated."));
+ }
return false;
}
}