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); } }