[MPlayer-cvslog] r35473 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Sun Nov 25 15:17:23 CET 2012


Author: ib
Date: Sun Nov 25 15:17:23 2012
New Revision: 35473

Log:
Allow setting guiInfo.Filename to NULL.

It's totally valid to do so.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Sun Nov 25 13:24:02 2012	(r35472)
+++ trunk/gui/ui/actions.c	Sun Nov 25 15:17:23 2012	(r35473)
@@ -221,9 +221,6 @@ void uiChangeSkin(char *name)
 
 void uiSetFileName(char *dir, char *name, int type)
 {
-    if (!name)
-        return;
-
     if (!dir)
         setdup(&guiInfo.Filename, name);
     else


More information about the MPlayer-cvslog mailing list