summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/builtin/optionmenu.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/builtin/optionmenu.ml')
-rw-r--r--otherlibs/labltk/builtin/optionmenu.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/builtin/optionmenu.ml b/otherlibs/labltk/builtin/optionmenu.ml
index 3ade5d57d..0fcba9b13 100644
--- a/otherlibs/labltk/builtin/optionmenu.ml
+++ b/otherlibs/labltk/builtin/optionmenu.ml
@@ -9,7 +9,7 @@ let create :parent :variable ?:name values =
tkEval [|TkToken "tk_optionMenu";
TkToken (Widget.name w);
cCAMLtoTKtextVariable variable;
- TkTokenList (List.map fun:(fun x -> TkToken x) values)|] in
+ TkTokenList (List.map f:(fun x -> TkToken x) values)|] in
if res <> Widget.name mw then
raise (TkError "internal error in Optionmenu.create")
else