diff gui/wm/ws.c @ 35644:fc4d3215bdf7

Remove the [ws] file information from the message text. We usually only have this for debug messages.
author ib
date Sat, 12 Jan 2013 21:21:44 +0000
parents f8eb470c25ea
children c0ec433fe432
line wrap: on
line diff
--- a/gui/wm/ws.c	Sat Jan 12 00:04:24 2013 +0000
+++ b/gui/wm/ws.c	Sat Jan 12 21:21:44 2013 +0000
@@ -205,7 +205,7 @@
 
     XGetErrorText(display, event->error_code, type, sizeof(type));
 
-    mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_WS_XError);
+    mp_msg(MSGT_GPLAYER, MSGL_ERR, "[ws] " MSGTR_WS_XError);
     mp_msg(MSGT_GPLAYER, MSGL_ERR, "[ws]  Error code: %d - %s\n", event->error_code, type);
     mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws]  Request code: %d (minor code: %d)\n", event->request_code, event->minor_code);
     mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws]  MPlayer module: %s\n", current_module ? current_module : "(none)");