From 85b4e45863d9ff27b62130e2ef1bdd47644de161 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sun, 25 Oct 2015 11:38:00 -0700 Subject: [PATCH] Order-of-initialization fix. --- source/MicroBitImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/MicroBitImage.cpp b/source/MicroBitImage.cpp index 059ee7b..ca63a05 100644 --- a/source/MicroBitImage.cpp +++ b/source/MicroBitImage.cpp @@ -228,7 +228,7 @@ MicroBitImage::~MicroBitImage() */ void MicroBitImage::init_empty() { - ptr = MicroBitImage::EmptyImage.ptr; + ptr = (ImageData*)(void*)empty; } /**