changeset 37010:af84671a576f

Simplify condition.
author ib
date Fri, 28 Mar 2014 19:03:59 +0000
parents 393bd4f71bd6
children 322951bebfd6
files gui/ui/render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/render.c	Fri Mar 28 18:56:56 2014 +0000
+++ b/gui/ui/render.c	Fri Mar 28 19:03:59 2014 +0000
@@ -362,7 +362,7 @@
     int xlimit, ylimit, ix, iy;
     uint32_t *pixels;
 
-    if (!img || (img->Image == NULL))
+    if (!img || !img->Image)
         return;
 
     if (below) {