Mercurial > mplayer.hg
comparison gui/interface.c @ 34667:7c447e9db447
Remove global variable pointing to top of playlist.
Add a corresponding listMgr command and use it instead.
author | ib |
---|---|
date | Wed, 22 Feb 2012 10:39:05 +0000 |
parents | 4df4d842d5fb |
children | 697aaedfe59e |
comparison
equal
deleted
inserted
replaced
34666:a5c69b91ff2c | 34667:7c447e9db447 |
---|---|
911 } | 911 } |
912 | 912 |
913 if (save) | 913 if (save) |
914 listMgr(PLAYLIST_ITEM_SET_CURR, save); | 914 listMgr(PLAYLIST_ITEM_SET_CURR, save); |
915 else | 915 else |
916 listMgr(PLAYLIST_ITEM_SET_CURR, plList); // go to head, if plList was empty before | 916 listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0)); // go to head, if plList was empty before |
917 | 917 |
918 if (save && result) | 918 if (save && result) |
919 listMgr(PLAYLIST_ITEM_DEL_CURR, 0); | 919 listMgr(PLAYLIST_ITEM_DEL_CURR, 0); |
920 | 920 |
921 uiCurr(); // update filename | 921 uiCurr(); // update filename |