mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 12:42:04 +08:00
bug fix for replaying files when double clicking in the playlist.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20002 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+3
-2
@@ -531,8 +531,9 @@ static LRESULT CALLBACK PlayListWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA
|
||||
case ID_TRACKLIST:
|
||||
if(HIWORD(wParam) == LBN_DBLCLK)
|
||||
{
|
||||
if(selected) pl->current = selected - 1;
|
||||
mplGotoTheNext = 0;
|
||||
if(guiIntfStruct.Playing && selected)
|
||||
pl->current = selected - 2;
|
||||
else if(selected) pl->current = selected - 1;
|
||||
gui->startplay(gui);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user