mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(SetPreviewImage): format can be null.
This commit is contained in:
parent
6a4a9a3c46
commit
6b0c48e30f
@ -271,7 +271,7 @@ namespace GARbro.GUI
|
||||
ImageCanvas.Source = bitmap;
|
||||
ApplyDownScaleSetting();
|
||||
SetStatusText (string.Format (guiStrings.MsgImageSize, bitmap.PixelWidth,
|
||||
bitmap.PixelHeight, bitmap.Format.BitsPerPixel, format.Tag));
|
||||
bitmap.PixelHeight, bitmap.Format.BitsPerPixel, format?.Tag ?? "?"));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user