From bc633a5c4c75318bbbcd9d52d833749d1a36100c Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 27 Sep 2006 11:24:28 +0000 Subject: 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 --- Gui/wm/wsxdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gui/wm') 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); } } -- cgit v1.2.3