[MPlayer-cvslog] r37106 - trunk/gui/ui/render.c

ib subversion at mplayerhq.hu
Fri Mar 28 20:03:59 CET 2014


Author: ib
Date: Fri Mar 28 20:03:59 2014
New Revision: 37106

Log:
Simplify condition.

Modified:
   trunk/gui/ui/render.c

Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c	Fri Mar 28 19:56:56 2014	(r37105)
+++ trunk/gui/ui/render.c	Fri Mar 28 20:03:59 2014	(r37106)
@@ -362,7 +362,7 @@ static void PutImage(int x, int y, uint3
     int xlimit, ylimit, ix, iy;
     uint32_t *pixels;
 
-    if (!img || (img->Image == NULL))
+    if (!img || !img->Image)
         return;
 
     if (below) {


More information about the MPlayer-cvslog mailing list