summaryrefslogtreecommitdiff
path: root/src/client/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/image.c')
-rw-r--r--src/client/image.c4
1 files changed, 1 insertions, 3 deletions
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;