[MPlayer-cvslog] r36176 - trunk/gui/dialog/url.c

ib subversion at mplayerhq.hu
Mon Apr 29 12:28:19 CEST 2013


Author: ib
Date: Mon Apr 29 12:28:18 2013
New Revision: 36176

Log:
Cosmetic: Insert blank line and relocate statement.

Modified:
   trunk/gui/dialog/url.c

Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c	Fri Apr 26 21:50:19 2013	(r36175)
+++ trunk/gui/dialog/url.c	Mon Apr 29 12:28:18 2013	(r36176)
@@ -51,6 +51,7 @@ static void button_clicked(GtkButton *bu
         if (str) {
             if (!strstr(str, "://")) {
                 gchar *tmp;
+
                 tmp = malloc(strlen(str) + 8);
                 sprintf(tmp, "http://%s", str);
                 free(str);
@@ -64,9 +65,9 @@ static void button_clicked(GtkButton *bu
             listMgr(URLLIST_ITEM_ADD, item);
 
             uiSetFile(NULL, str, STREAMTYPE_STREAM);
-            guiInfo.NewPlay = GUI_FILE_NEW;
             listMgr(PLAYLIST_DELETE, 0);
             add_to_gui_playlist(str, PLAYLIST_ITEM_APPEND);
+            guiInfo.NewPlay = GUI_FILE_NEW;
             uiEvent(evPlay, 0);
         }
     }


More information about the MPlayer-cvslog mailing list