summaryrefslogtreecommitdiffstats
path: root/apps/recorder
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/recorder
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/recorder')
-rw-r--r--apps/recorder/recording.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index b8f10dc83e..d47773071f 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1756,7 +1756,7 @@ bool recording_screen(bool no_source)
{
output_dyn_value(buf2, sizeof buf2,
num_recorded_bytes,
- byte_units, true);
+ byte_units, 4, true);
snprintf(buf, sizeof(buf), "%s %s",
str(LANG_RECORDING_SIZE), buf2);
}