Skip to content

Commit ef9e544

Browse files
bclement-ocpc-cube
authored andcommitted
Compatibility with printbox 0.12
1 parent 7f44cdd commit ef9e544

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchpress-server.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ depends: [
2222
"sqlite3"
2323
"sqlite3_utils" { >= "0.4" & < "0.5" }
2424
"tiny_httpd" { >= "0.17" & < "1.0" }
25-
"printbox" { >= "0.6" }
26-
"printbox-text" { >= "0.6" }
25+
"printbox" { >= "0.12" }
26+
"printbox-text" { >= "0.12" }
2727
"ocaml" {>= "4.12" }
2828
"jemalloc" { >= "0.2" & < "0.3" }
2929
]

src/server/benchpress_server.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ end = struct
122122
l
123123
in
124124
H.div a l
125-
| B.Pad (_, b) | B.Frame b -> to_html_rec b
125+
| B.Pad (_, b) | B.Frame { sub = b; _ } -> to_html_rec b
126126
| B.Align { h = `Right; inner = b; v = _ } ->
127127
H.div [ A.class_ "align-right" ] [ to_html_rec b ]
128128
| B.Align { h = `Center; inner = b; v = _ } ->

0 commit comments

Comments
 (0)