aboutsummaryrefslogtreecommitdiff
path: root/ide/wg_Notebook.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ide/wg_Notebook.ml')
-rw-r--r--ide/wg_Notebook.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/wg_Notebook.ml b/ide/wg_Notebook.ml
index 7a4ddc010f..76d6cbed9e 100644
--- a/ide/wg_Notebook.ml
+++ b/ide/wg_Notebook.ml
@@ -45,8 +45,8 @@ object(self)
method get_nth_term i =
List.nth term_list i
- method term_num p =
- Util.List.index0 p term_list
+ method term_num f p =
+ Util.List.index0_f f p term_list
method pages = term_list