diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-27 11:24:28 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-27 11:24:28 +0000 |
commit | bc633a5c4c75318bbbcd9d52d833749d1a36100c (patch) | |
tree | ff10f24731672a37b87a9edd17da6a4b10f0c539 /Gui | |
parent | 42005ac82bc9a81fd61ae6ead3465bfce72d2d9f (diff) | |
download | mpv-bc633a5c4c75318bbbcd9d52d833749d1a36100c.tar.bz2 mpv-bc633a5c4c75318bbbcd9d52d833749d1a36100c.tar.xz |
Fix longstanding drag and drop bug: Only n-1 files get played when n files
get queued via drag and drop.
patch by laurent wozniak, laurent.wozniak at laposte dot net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19992 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/wm/wsxdnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/wm/wsxdnd.c b/Gui/wm/wsxdnd.c index 5056db5c53..5fa1c91744 100644 --- a/Gui/wm/wsxdnd.c +++ b/Gui/wm/wsxdnd.c @@ -124,7 +124,7 @@ wsXDNDProcessSelection(wsTWindow* wnd, XEvent *event) /* Handle the files */ if(wnd->DandDHandler){ - wnd->DandDHandler(num-1,files); + wnd->DandDHandler(num,files); } } |