From 0bbc03c5776fdcf6006bb0447341f82967d2b5d1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 20 Jan 2016 19:24:12 +0000 Subject: Cache place below level, to avoid pointless calls to find_sides. --- render/box.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index 8e5aef8f5..5501f88c8 100644 --- a/render/box.h +++ b/render/box.h @@ -244,6 +244,9 @@ struct box { * This is used only for boxes with float_children */ int clear_level; + /* Level below which floats have been placed. */ + int cached_place_below_level; + /** List marker box if this is a list-item, or 0. */ struct box *list_marker; -- cgit v1.2.3