summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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);
}
}