From 4ec38922ac17f72a52cccb1e3ad875618ce00df5 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Tue, 11 Mar 2008 00:14:39 +0000 Subject: Change meaning of c->redraw_time to be the earliest time to reflow during page asset fetch. Have the time selected vary depending on how long the last reflow took. svn path=/trunk/netsurf/; revision=3925 --- desktop/options.c | 4 ++-- desktop/options.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/options.c b/desktop/options.c index cfa89abcc..9a1111c83 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -132,9 +132,9 @@ int option_scale = 100; bool option_incremental_reflow = true; /* Minimum time between HTML reflows while objects are fetching */ #ifdef riscos -int option_min_reflow_period = 100; /* time in cs */ +unsigned int option_min_reflow_period = 100; /* time in cs */ #else -int option_min_reflow_period = 25; /* time in cs */ +unsigned int option_min_reflow_period = 25; /* time in cs */ #endif /* Fetcher configuration */ diff --git a/desktop/options.h b/desktop/options.h index 6b9fd66e7..89e99969b 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -81,7 +81,7 @@ extern int option_window_screen_height; extern int option_toolbar_status_width; extern int option_scale; extern bool option_incremental_reflow; -extern int option_min_reflow_period; +extern unsigned int option_min_reflow_period; /* Fetcher configuration. */ extern int option_max_fetchers; -- cgit v1.2.3