From 2cb9a9c548ee08c43e645c9a9289d002711c44ae Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Thu, 3 Feb 2011 11:22:51 +0100 Subject: [PATCH] Renamed the constant to keep related with the arrays --- src/stringfunc.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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", -- 1.7.1