(size_trunc_len): align to properly use either IEC or SI prefixes with the unit B...
commitbae814d0d48dbb8eae48231f13e8aaec544178d8
authorMichael Osipov <1983-01-06@gmx.net>
Thu, 25 Aug 2016 13:09:03 +0000 (25 15:09 +0200)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 26 Oct 2016 10:33:12 +0000 (26 13:33 +0300)
treead1a8a20c13f4f664646eb459738599102f8da0e
parentb3867a6e154420833d6a1117f556b9ab2d64c6ab
(size_trunc_len): align to properly use either IEC or SI prefixes with the unit B (byte).

Additionally always put a space between number and unit which is
required by the norms.

It is important to note that really small buffers have to be bigger than it
appears because they store bytes and non-Latin scripts need more than one byte
with UTF-8 to encode them, e.g., the string "1023 МиБ" in Russian requires
11 bytes + null terminator.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/util.c
src/filemanager/filegui.c
src/filemanager/info.c
src/filemanager/panel.c