This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9237 - Mismatch in voiced and displayed buffer size
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Sunday, 03 August 2008, 20:37 GMT+1
Last edited by Bertrik Sikken (bertrik) - Monday, 04 August 2008, 00:13 GMT+1
Opened by Bertrik Sikken (bertrik) - Sunday, 03 August 2008, 20:37 GMT+1
Last edited by Bertrik Sikken (bertrik) - Monday, 04 August 2008, 00:13 GMT+1
|
DetailsI noticed that the buffer size displayed in System/Rockbox info is different from the size that is spoken. The ratio is 1.024 (i.e. the ratio between a KB and KiB).
Attached patch fixes this by using function output_dyn_value for both displaying and voicing of the buffer size. This patch touches english.lang and removes conversion specifier (like %03d) from a string. I'm not sure about the impact of this on other languages, they may have to be updated too. |
This task depends upon
Closed by Bertrik Sikken (bertrik)
Monday, 04 August 2008, 00:13 GMT+1
Reason for closing: Accepted
Additional comments about closing: Committed as 18190. Languages using LANG_BUFFER_STAT have been updated to use output_dyn_value instead of doing a sprintf.
Monday, 04 August 2008, 00:13 GMT+1
Reason for closing: Accepted
Additional comments about closing: Committed as 18190. Languages using LANG_BUFFER_STAT have been updated to use output_dyn_value instead of doing a sprintf.