more
This commit is contained in:
parent
f78b5807f8
commit
4e52b75f72
|
@ -307,7 +307,7 @@ let draw ~filename ~bates ~batespad fast range pdf drawops =
|
||||||
let pdf = ref pdf in
|
let pdf = ref pdf in
|
||||||
let range = ref range in
|
let range = ref range in
|
||||||
(* Double up a trailing NewPage so it actually does something... *)
|
(* Double up a trailing NewPage so it actually does something... *)
|
||||||
let drawops = match rev drawops with NewPage::t -> rev (NewPage::NewPage::t) | l -> l in
|
let drawops = match rev drawops with NewPage::t -> rev (NewPage::NewPage::t) | _ -> drawops in
|
||||||
let chunks = ref (split_around (eq NewPage) drawops) in
|
let chunks = ref (split_around (eq NewPage) drawops) in
|
||||||
while !chunks <> [] do
|
while !chunks <> [] do
|
||||||
reset_state ();
|
reset_state ();
|
||||||
|
|
Loading…
Reference in New Issue