summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser/editor.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-17 13:08:34 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-09-17 13:08:34 +0000
commit7ae26d5b11dfb1837e056f5fec127b251d637cb8 (patch)
tree3e33b6f81314ade3de07b1ab6192fa59672dc851 /otherlibs/labltk/browser/editor.ml
parente22a330b2993fd0bfac334fdb5031bcabc324d69 (diff)
remove labels from List.assoc/remove_assoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3767 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/editor.ml')
-rw-r--r--otherlibs/labltk/browser/editor.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/browser/editor.ml b/otherlibs/labltk/browser/editor.ml
index 279098d3d..ff6b379a8 100644
--- a/otherlibs/labltk/browser/editor.ml
+++ b/otherlibs/labltk/browser/editor.ml
@@ -113,7 +113,7 @@ let select_shell txt =
begin fun () ->
try
let name = Listbox.get box ~index:`Active in
- txt.shell <- Some (name, List.assoc name ~map:shells);
+ txt.shell <- Some (name, List.assoc name shells);
destroy tl
with Not_found -> txt.shell <- None; destroy tl
end