changeset 33133:41485430b18a

Move debug message. Show "conversion size: 0" in case no mask has been created.
author ib
date Tue, 05 Apr 2011 10:44:38 +0000
parents 6ac1b560e209
children ffe524b8b8f3
files gui/util/bitmap.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/bitmap.c	Tue Apr 05 10:39:59 2011 +0000
+++ b/gui/util/bitmap.c	Tue Apr 05 10:44:38 2011 +0000
@@ -247,13 +247,13 @@
         }
     }
 
-    mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[bitmap] 1 bpp conversion size: %lu\n", out->ImageSize);
-
     if (b)
         out->Image[c] = tmp;
 
     if (!shaped)
         bpFree(out);
 
+    mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[bitmap] 1 bpp conversion size: %lu\n", out->ImageSize);
+
     return 1;
 }