From 53f1bca0140d03d9f2e1437a4ad0dbc3f7e85ce0 Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 13 Sep 2014 06:07:53 +0400 Subject: [PATCH] More apt fix for stray outlines --- main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ml b/main.ml index 6e1a908..2021dd2 100644 --- a/main.ml +++ b/main.ml @@ -1219,7 +1219,6 @@ let opendoc path password = state.password <- password; state.gen <- state.gen + 1; state.docinfo <- []; - state.outlines <- [||]; flushpages (); setaalevel conf.aalevel; @@ -1687,6 +1686,7 @@ let act cmds = | "continue" :: args :: [] -> let n = scan args "%u" (fun n -> n) in state.pagecount <- n; + state.outlines <- [||]; begin match state.currently with | Outlining l -> state.currently <- Idle; -- 2.11.4.GIT