From aa643db434e230643e18e454032fb708e0f1848d Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 25 Jul 2007 14:24:49 +0000 Subject: [PATCH] Oops, forgot to trim down the lines before my previous commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13988 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 62d710af54..9362c84e20 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -851,9 +851,11 @@ static char *get_token_value(struct gui_wps *gwps, case WPS_TOKEN_TRACK_ELAPSED_PERCENT: if (intval) { - *intval = limit * (id3->elapsed + state->ff_rewind_count) / id3->length + 1; + *intval = limit * (id3->elapsed + state->ff_rewind_count) + / id3->length + 1; } - snprintf(buf, buf_size, "%d", 100*(id3->elapsed + state->ff_rewind_count) / id3->length); + snprintf(buf, buf_size, "%d", + 100*(id3->elapsed + state->ff_rewind_count) / id3->length); return buf; case WPS_TOKEN_METADATA_ARTIST: