From 35084eaadf8b37f5c4a325f0d4b01767753ee9c3 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Sat, 15 Nov 2008 16:08:21 +0100 Subject: modification coding stile --- src/client/image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/image.c') diff --git a/src/client/image.c b/src/client/image.c index e5b0c3e..711d8b4 100644 --- a/src/client/image.c +++ b/src/client/image.c @@ -53,9 +53,7 @@ static SDL_Surface *loadImage(const char *filename, int alpha) return NULL; } - if ((ret = - (alpha) ? SDL_DisplayFormatAlpha(tmp) : SDL_DisplayFormat(tmp)) == - NULL) { + if ((ret = (alpha) ? SDL_DisplayFormatAlpha(tmp) : SDL_DisplayFormat(tmp)) == NULL) { fprintf(stderr, "%s\n", SDL_GetError()); SDL_FreeSurface(tmp); return NULL; -- cgit v1.2.3