[MPlayer-cvslog] r38467 - trunk/gui/wm/ws.c

ib subversion at mplayerhq.hu
Sun Apr 21 12:57:46 EEST 2024


Author: ib
Date: Sun Apr 21 12:57:46 2024
New Revision: 38467

Log:
Fix "warning: '%s' directive argument is null".

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Sun Apr 21 12:54:51 2024	(r38466)
+++ trunk/gui/wm/ws.c	Sun Apr 21 12:57:46 2024	(r38467)
@@ -202,7 +202,7 @@ void wsInit(Display *display)
             wsUseXShm = False;
         }
 
-        mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws] display name: %s => %s display.\n", dispname, localdisp ? "local" : "REMOTE");
+        mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws] display name: %s => %s display.\n", dispname ? dispname : "?", localdisp ? "local" : "REMOTE");
 
         if (!localdisp)
             mp_msg(MSGT_GPLAYER, MSGL_INFO, _(MSGTR_GUI_MSG_RemoteDisplay));


More information about the MPlayer-cvslog mailing list