changeset 35784:c4cd95d59567

Improve debug message. Let user see whether width and height have been given.
author ib
date Fri, 25 Jan 2013 14:42:21 +0000
parents 5fb29877d2a3
children 24b744af09a7
files gui/skin/skin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Fri Jan 25 12:47:30 2013 +0000
+++ b/gui/skin/skin.c	Fri Jan 25 14:42:21 2013 +0000
@@ -321,7 +321,7 @@
         }
     }
 
-    mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[skin]     bitmap: %dx%d\n", currWin->width, currWin->height);
+    mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[skin]    %s: %dx%d\n", (is_video && w && h ? "size" : " bitmap"), currWin->width, currWin->height);
 
     if (!is_video) {
         if (!bpRenderMask(&currWin->Bitmap, &currWin->Mask)) {