Some windowed graphics drawing methods cause the snapshot code to fail

if you have changed the depth since boot (seems to be something strange
with the parameters that I still haven't worked out). If this happens,
we now put a suggested workaround in the warning message.
This commit is contained in:
nigel 2006-05-14 10:17:06 +00:00
parent 7ef09b90bb
commit c5c748f7e2

View File

@ -232,7 +232,7 @@ static int prevFlags;
if ( ! b ) if ( ! b )
{ {
ErrorAlert("Could not allocate an NSBitmapImageRep for the TIFF"); ErrorAlert("Could not allocate an NSBitmapImageRep for the TIFF\nTry setting the emulation to millions of colours?");
return nil; return nil;
} }