Skip to content

Commit

Permalink
Merge branch 'soopercool101:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHinrichs authored Mar 9, 2022
2 parents 9751034 + 1a4b9e9 commit 9bca916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrawlLib/Internal/Windows/Forms/TextureConverterDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private static bool TryLoadPngWithPalette(Stream sourceStream, out BitmapSource
private bool LoadImagesPreservingPaletteInfo(string path)
{
#if !MONO
Stream sourceStream = new FileStream(_imageSource, FileMode.Open, FileAccess.Read, FileShare.Read);
Stream sourceStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
try
{
if (TryLoadPngWithPalette(sourceStream, out BitmapSource preservedImage) && preservedImage.Format == System.Windows.Media.PixelFormats.Indexed8)
Expand Down

0 comments on commit 9bca916

Please sign in to comment.