From 8527ce82b651b20f2f3406a9b95c4948e8c7dddf Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Fri, 6 Apr 2007 19:07:57 +0000 Subject: Use the default subline timeout value in case the value isn't explicitly set. Hopefully this will be the last commit in that area :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13048 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/gwps-common.c') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index cb2329c65d..c8dc1562c3 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1485,6 +1485,8 @@ static void get_subline_timeout(struct gui_wps *gwps, int line, int subline) struct wps_data *data = gwps->data; int i = data->format_lines[line][subline]; + data->time_mult[line][subline] = DEFAULT_SUBLINE_TIME_MULTIPLIER; + while (data->tokens[i].type != WPS_TOKEN_EOL && data->tokens[i].type != WPS_TOKEN_SUBLINE_SEPARATOR && i < data->num_tokens) -- cgit v1.2.3