summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 62d710a..9362c84 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: