summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/builtin/selection_handle_set.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/builtin/selection_handle_set.ml')
-rw-r--r--otherlibs/labltk/builtin/selection_handle_set.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/builtin/selection_handle_set.ml b/otherlibs/labltk/builtin/selection_handle_set.ml
index 9d05bb059..2a7fe8b4c 100644
--- a/otherlibs/labltk/builtin/selection_handle_set.ml
+++ b/otherlibs/labltk/builtin/selection_handle_set.ml
@@ -7,7 +7,7 @@ selection_handle_icccm_optionals (fun opts w ->
cCAMLtoTKwidget w;
let id = register_callback w callback:(function args ->
let a1 = int_of_string (List.hd args) in
- let a2 = int_of_string (List.nth args pos:1) in
+ let a2 = int_of_string (List.nth args 1) in
tkreturn (cmd pos:a1 len:a2)) in TkToken ("camlcb " ^ id)
|])