Order-of-initialization fix.

This commit is contained in:
Michal Moskal 2015-10-25 11:38:00 -07:00
parent d0b75c96d1
commit 85b4e45863
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ MicroBitImage::~MicroBitImage()
*/
void MicroBitImage::init_empty()
{
ptr = MicroBitImage::EmptyImage.ptr;
ptr = (ImageData*)(void*)empty;
}
/**