diff gui/interface.c @ 34068:c3b22e92a4ec

Don't needlessly set filename in GUI_PREPARE. The filename has already been set (by uiSetFileName()). For gui/win32/interface.c there is no need to set it in guiPlaylistInitialize() either.
author ib
date Thu, 29 Sep 2011 13:52:19 +0000
parents 1b60a54bbfb8
children 5c505f79932d
line wrap: on
line diff
--- a/gui/interface.c	Thu Sep 29 13:44:21 2011 +0000
+++ b/gui/interface.c	Thu Sep 29 13:52:19 2011 +0000
@@ -427,14 +427,6 @@
 #endif
         }
 
-// if ( guiInfo.StreamType != STREAMTYPE_PLAYLIST ) // Does not make problems anymore!
-        {
-            if (guiInfo.Filename)
-                filename = gstrdup(guiInfo.Filename);
-            else if (filename)
-                setdup(&guiInfo.Filename, filename);
-        }
-
         // video opts
 
         if (!video_driver_list) {