diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 1999-12-08 08:21:57 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 1999-12-08 08:21:57 +0000 |
commit | 77d4f18ce657800ebd85530c510521b467d7c3dd (patch) | |
tree | d4ff7e2e660afc0463534306f246fd24f8dbcc69 /otherlibs/labltk/browser/jg_multibox.ml | |
parent | 181b12cb95b3361d1fd4b44fa25662c994a9eeb4 (diff) |
changed label_pattern syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/jg_multibox.ml')
-rw-r--r-- | otherlibs/labltk/browser/jg_multibox.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/browser/jg_multibox.ml b/otherlibs/labltk/browser/jg_multibox.ml index 1858a48f8..f7c1ec2c4 100644 --- a/otherlibs/labltk/browser/jg_multibox.ml +++ b/otherlibs/labltk/browser/jg_multibox.ml @@ -67,7 +67,7 @@ class c :cols :texts ?:maxheight ?:width parent = object (self) method parent = parent' method boxes = boxes method current = current - method recenter?:aligntop[=false] n = + method recenter ?(:aligntop=false) n = current <- if n < 0 then 0 else if n < length then n else length - 1; |