summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-06 19:07:57 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-06 19:07:57 +0000
commit8527ce82b651b20f2f3406a9b95c4948e8c7dddf (patch)
treecd3da11787f4a7979ebf18c0b3c24cb719971671
parent87e77ba466bbeecbbb7b6479318c0c69a9394c8d (diff)
downloadrockbox-8527ce82b651b20f2f3406a9b95c4948e8c7dddf.tar.gz
rockbox-8527ce82b651b20f2f3406a9b95c4948e8c7dddf.zip
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
-rw-r--r--apps/gui/gwps-common.c2
1 files changed, 2 insertions, 0 deletions
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)