Author: ib
Date: Fri Jun  3 16:35:44 2011
New Revision: 33552

Log:
Remove useless code.

mDisplay is always set, otherwise the GUI wouldn't have been called.
Thus, there is neither a need to call XOpenDisplay() nor to check for error.

Modified:
   trunk/help/help_mp-en.h

Changes in other areas also in this revision:
Modified:
   trunk/gui/wm/ws.c
   trunk/help/help_mp-bg.h
   trunk/help/help_mp-cs.h
   trunk/help/help_mp-de.h
   trunk/help/help_mp-es.h
   trunk/help/help_mp-fr.h
   trunk/help/help_mp-hu.h
   trunk/help/help_mp-it.h
   trunk/help/help_mp-pl.h
   trunk/help/help_mp-ru.h
   trunk/help/help_mp-tr.h
   trunk/help/help_mp-uk.h
   trunk/help/help_mp-zh_CN.h
   trunk/help/help_mp-zh_TW.h

Modified: trunk/help/help_mp-en.h
==============================================================================
--- trunk/help/help_mp-en.h     Fri Jun  3 16:31:13 2011        (r33551)
+++ trunk/help/help_mp-en.h     Fri Jun  3 16:35:44 2011        (r33552)
@@ -807,7 +807,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "This does not seem to be a file: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Could not open the display.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Remote display, disabling XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Sorry, your system does not support the X shared 
memory extension.\n"
 #define MSGTR_WS_NoXshape "[ws] Sorry, your system does not support the XShape 
extension.\n"
_______________________________________________
MPlayer-DOCS mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs

Reply via email to