Mercurial > mplayer.hg
changeset 36082:bb41e924fea9
Cosmetic: Insert blank line and relocate statement.
author | ib |
---|---|
date | Mon, 29 Apr 2013 10:28:18 +0000 |
parents | eadb3ddad605 |
children | 3705b6e4ba07 |
files | gui/dialog/url.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/url.c Fri Apr 26 19:50:19 2013 +0000 +++ b/gui/dialog/url.c Mon Apr 29 10:28:18 2013 +0000 @@ -51,6 +51,7 @@ if (str) { if (!strstr(str, "://")) { gchar *tmp; + tmp = malloc(strlen(str) + 8); sprintf(tmp, "http://%s", str); free(str); @@ -64,9 +65,9 @@ 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); } }