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: