1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-19 06:07:42 +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:
James Crook 2017-07-25 21:17:06 +01:00
parent 6513fcf2ca
commit 188886f4da

View File

@ -985,8 +985,6 @@ bool ThemeBase::ReadImageCache( teThemeType type, bool bOkIfNotFound)
pImage = HiContrastImageCacheAsData;
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 );
wxMemoryInputStream InternalStream( pImage, ImageSize );