mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(SetPreviewImage): format can be null.
This commit is contained in:
@@ -271,7 +271,7 @@ namespace GARbro.GUI
|
|||||||
ImageCanvas.Source = bitmap;
|
ImageCanvas.Source = bitmap;
|
||||||
ApplyDownScaleSetting();
|
ApplyDownScaleSetting();
|
||||||
SetStatusText (string.Format (guiStrings.MsgImageSize, bitmap.PixelWidth,
|
SetStatusText (string.Format (guiStrings.MsgImageSize, bitmap.PixelWidth,
|
||||||
bitmap.PixelHeight, bitmap.Format.BitsPerPixel, format.Tag));
|
bitmap.PixelHeight, bitmap.Format.BitsPerPixel, format?.Tag ?? "?"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user