From: Guilherme Maciel Ferreira Date: Thu, 3 Feb 2011 10:22:51 +0000 (+0100) Subject: Renamed the constant to keep related with the arrays X-Git-Tag: v2.6~86^2~5 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=2cb9a9c548ee08c43e645c9a9289d002711c44ae;p=libi2ncommon Renamed the constant to keep related with the arrays --- diff --git a/src/stringfunc.cpp b/src/stringfunc.cpp index df56621..6dc4928 100644 --- a/src/stringfunc.cpp +++ b/src/stringfunc.cpp @@ -892,9 +892,9 @@ string to_upper(const string &src) } #endif -const int MAX_SYMBOL_FORMATS = 9; +const int MAX_UNIT_FORMAT_SYMBOLS = 9; -const string shortUnitFormatSymbols[MAX_SYMBOL_FORMATS] = { +const string shortUnitFormatSymbols[MAX_UNIT_FORMAT_SYMBOLS] = { " B", " KB", " MB", @@ -906,7 +906,7 @@ const string shortUnitFormatSymbols[MAX_SYMBOL_FORMATS] = { " YB" }; -const string longUnitFormatSymbols[MAX_SYMBOL_FORMATS] = { +const string longUnitFormatSymbols[MAX_UNIT_FORMAT_SYMBOLS] = { " Bytes", " KBytes", " MBytes",