From 3954a51311f872abcce9b96ebe436b869939767a Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Fri, 6 Apr 2007 14:18:07 +0000 Subject: Better handling of subline timeout values : All values are set to the default before another value is found by the parser. No more resetting to the default value at displaying time (this caused problems especially noticeable on the DancePuffDuo WPS). Changing the values with conditionals is still possible but only strictly positive tiemout values are accepted now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13045 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/gui/gwps-common.c') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 4384284901..86003fa9ef 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1763,14 +1763,9 @@ bool gui_wps_refresh(struct gui_wps *gwps, /* reset to first subline if refresh all flag is set */ if (refresh_mode == WPS_REFRESH_ALL) { - int j; for (i = 0; i < data->num_lines; i++) { data->curr_subline[i] = SUBLINE_RESET; - for (j = 0; j < data->num_sublines[i]; j++) - { - data->time_mult[i][j] = DEFAULT_SUBLINE_TIME_MULTIPLIER; - } } } -- cgit v1.2.3