forked from len0rd/rockbox
Gain display bugfix by Keith Hubbard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3957 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fad8f2c8c8
commit
3651b34e94
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ char *fmt_gain(int snd, int val, char *str, int len)
|
||||||
unit = mpeg_sound_unit(snd);
|
unit = mpeg_sound_unit(snd);
|
||||||
|
|
||||||
i = tmp / (10*numdec);
|
i = tmp / (10*numdec);
|
||||||
d = tmp % (10*numdec);
|
d = abs(tmp % (10*numdec));
|
||||||
|
|
||||||
snprintf(str, len, fmtstr[numdec], i, d, unit);
|
snprintf(str, len, fmtstr[numdec], i, d, unit);
|
||||||
return str;
|
return str;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue