From 2b99e70a462ce87d643c19a0c48c812ad6c98d67 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 7 Sep 2006 20:23:21 +0000 Subject: Fixed a typo. --- src/resources/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/resources/image.cpp b/src/resources/image.cpp index 6a7c79df..eb3a2409 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -260,7 +260,7 @@ void Image::unload() { mLoaded = false; - if (!mImage) { + if (mImage) { // Free the image surface. SDL_FreeSurface(mImage); mImage = NULL; -- cgit v1.2.3-70-g09d2