From 7b155f111daf5d7ae477b16d0f0789b1113bea74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jun 2012 00:04:33 +0300 Subject: Fix some issues after auto checking. --- src/guichan/sdl/sdlimage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/guichan/sdl') diff --git a/src/guichan/sdl/sdlimage.cpp b/src/guichan/sdl/sdlimage.cpp index cf8505c4e..f00db27f9 100644 --- a/src/guichan/sdl/sdlimage.cpp +++ b/src/guichan/sdl/sdlimage.cpp @@ -55,10 +55,10 @@ namespace gcn { - SDLImage::SDLImage(SDL_Surface* surface, bool autoFree) + SDLImage::SDLImage(SDL_Surface* surface, bool autoFree) : + mSurface(surface), + mAutoFree(autoFree) { - mAutoFree = autoFree; - mSurface = surface; } SDLImage::~SDLImage() -- cgit v1.2.3-70-g09d2