summaryrefslogtreecommitdiffstats
path: root/Gui/wm/wsxdnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/wm/wsxdnd.c')
-rw-r--r--Gui/wm/wsxdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/wm/wsxdnd.c b/Gui/wm/wsxdnd.c
index cc755e6e4b..b05c65abb5 100644
--- a/Gui/wm/wsxdnd.c
+++ b/Gui/wm/wsxdnd.c
@@ -122,7 +122,7 @@ wsXDNDProcessSelection(wsTWindow* wnd, XEvent *event)
/* Handle the files */
if(wnd->DandDHandler){
- wnd->DandDHandler(num,files);
+ wnd->DandDHandler(num-1,files);
}
}