summaryrefslogtreecommitdiff
path: root/content/handlers/html
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html')
-rw-r--r--content/handlers/html/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index af1040b40..ba80ad12e 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -1564,7 +1564,7 @@ static void html_reformat(struct content *c, int width, int height)
/* calculate next reflow time at three times what it took to reflow */
nsu_getmonotonic_ms(&ms_after);
- ms_interval = (ms_before - ms_after) * 3;
+ ms_interval = (ms_after - ms_before) * 3;
if (ms_interval < (nsoption_uint(min_reflow_period) * 10)) {
ms_interval = nsoption_uint(min_reflow_period) * 10;
}