summaryrefslogtreecommitdiffstats
path: root/apps/talk.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-12-09 12:09:40 -0600
committerWilliam Wilgus <me.theuser@yahoo.com>2018-12-09 22:54:55 -0600
commit62a5ed49cc187120793ea50e0eec4e18c8bc0441 (patch)
treea6714de084a80ea4a61f3da6042a743801b19d12 /apps/talk.c
parent74701a16a547ab4a68fc9c5a32d939e7a9c91531 (diff)
downloadrockbox-62a5ed49cc187120793ea50e0eec4e18c8bc0441.tar.gz
rockbox-62a5ed49cc187120793ea50e0eec4e18c8bc0441.tar.bz2
rockbox-62a5ed49cc187120793ea50e0eec4e18c8bc0441.zip
Fix possible truncation misc.c->output_dyn_value + use Kibytes
output_dyn_value now requires the count for number of units Binary scale now shows Kibibytes instead of kilobytes (g#1742) Fixes output for negative values as well Change-Id: I8aa896860e97d2453fa35069e2dfe1caac60109f
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 910f355ff9..aae33283ae 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -1330,7 +1330,7 @@ int talk_value_decimal(long n, int unit, int decimals, bool enqueue)
[UNIT_HERTZ]
= VOICE_HERTZ,
[UNIT_MB]
- = LANG_MEGABYTE,
+ = LANG_MEBIBYTE,
[UNIT_KBIT]
= VOICE_KBIT_PER_SEC,
[UNIT_PM_TICK]