From ee037ee389ac0e73c8f0f05980e793c7bcbbcab3 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Fri, 4 Feb 2011 16:26:08 +0100 Subject: [PATCH] Changed the default parameters value from nice_unit_format() --- src/stringfunc.hxx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stringfunc.hxx b/src/stringfunc.hxx index ff8ebed..3ee7a0b 100644 --- a/src/stringfunc.hxx +++ b/src/stringfunc.hxx @@ -204,8 +204,8 @@ enum UnitFormat { std::string nice_unit_format( const int64_t input, - const UnitFormat format = LongUnitFormat, - const UnitBase base = UnitBase1000 + const UnitFormat format = ShortUnitFormat, + const UnitBase base = UnitBase1024 ); bool replace_all(std::string &base, const std::string *ist, const std::string *soll); -- 1.7.1