Renamed the constant to keep related with the arrays
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Thu, 3 Feb 2011 10:22:51 +0000 (11:22 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Thu, 3 Feb 2011 10:22:51 +0000 (11:22 +0100)
src/stringfunc.cpp

index df56621..6dc4928 100644 (file)
@@ -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",