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:
vayne
2006-09-28 20:42:03 +00:00
parent 8ada2d6b87
commit 448a04d2bb
+3 -2
View File
@@ -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;