mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-21 06:58:02 +02:00
Revert 'Possible fix for Mac library issue.'.
The ',' on the end of the data was not creating a rogue zero entry. So adding ImageSize-- was incorrect.
This commit is contained in:
parent
6513fcf2ca
commit
188886f4da
@ -985,8 +985,6 @@ bool ThemeBase::ReadImageCache( teThemeType type, bool bOkIfNotFound)
|
|||||||
pImage = HiContrastImageCacheAsData;
|
pImage = HiContrastImageCacheAsData;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// The image size includes a rogue '0' on the end, because the array ends in a ','.
|
|
||||||
ImageSize--;
|
|
||||||
//wxLogDebug("Reading ImageCache %p size %i", pImage, ImageSize );
|
//wxLogDebug("Reading ImageCache %p size %i", pImage, ImageSize );
|
||||||
wxMemoryInputStream InternalStream( pImage, ImageSize );
|
wxMemoryInputStream InternalStream( pImage, ImageSize );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user