summaryrefslogtreecommitdiff
path: root/zen/format_unit.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-07-15 15:01:41 +0000
committerB. Stack <bgstack15@gmail.com>2021-07-15 15:01:41 +0000
commitbc6f56c106b894409640a7730838bd52ec0c8044 (patch)
tree774b9ac395e65f9346210dcf804aa58f1b3975d1 /zen/format_unit.h
parentMerge branch '11.11' into 'master' (diff)
parentadd upstream 11.12 (diff)
downloadFreeFileSync-bc6f56c106b894409640a7730838bd52ec0c8044.tar.gz
FreeFileSync-bc6f56c106b894409640a7730838bd52ec0c8044.tar.bz2
FreeFileSync-bc6f56c106b894409640a7730838bd52ec0c8044.zip
Merge branch '11.12' into 'master'
add upstream 11.12 See merge request opensource-tracking/FreeFileSync!35
Diffstat (limited to 'zen/format_unit.h')
-rw-r--r--zen/format_unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zen/format_unit.h b/zen/format_unit.h
index 1c96da51..4a839855 100644
--- a/zen/format_unit.h
+++ b/zen/format_unit.h
@@ -14,6 +14,7 @@
namespace zen
{
+ const int bytesPerKilo = 1000;
std::wstring formatFilesizeShort(int64_t filesize);
std::wstring formatRemainingTime(double timeInSec);
std::wstring formatFraction(double fraction); //within [0, 1]
bgstack15