Mercurial > mplayer.hg
changeset 32879:9ee46c5e8667
Comply with the requested verbosity on GUI message boxes.
author | ib |
---|---|
date | Thu, 24 Feb 2011 23:49:33 +0000 |
parents | afa6f80b0867 |
children | 96cbdbf90c42 |
files | gui/skin/skin.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/skin/skin.c Thu Feb 24 17:55:36 2011 +0000 +++ b/gui/skin/skin.c Thu Feb 24 23:49:33 2011 +0000 @@ -56,8 +56,11 @@ va_end(ap); mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_SKIN_ERRORMESSAGE, linenumber, p); + + if (mp_msg_test(MSGT_GPLAYER, MSGL_ERR)) { snprintf(tmp, sizeof(tmp), MSGTR_SKIN_ERRORMESSAGE, linenumber, p); gtkMessageBox(GTK_MB_FATAL, tmp); + } } #define CHECKDEFLIST(str) \