diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:53 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:53 +0200 |
commit | 618dfb51d93898632830f1b87443d3f748780871 (patch) | |
tree | bac520a2e261154f8d35b0cb8aa345f5ab373811 /library/statistics.cpp | |
parent | 3.4 (diff) | |
download | FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.gz FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.bz2 FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.zip |
3.5
Diffstat (limited to 'library/statistics.cpp')
-rw-r--r-- | library/statistics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/statistics.cpp b/library/statistics.cpp index ac968d1f..6e64be1c 100644 --- a/library/statistics.cpp +++ b/library/statistics.cpp @@ -10,7 +10,7 @@ #include "../shared/globalFunctions.h" #include "statusHandler.h" //#include "../algorithm.h" -#include "../ui/util.h" +#include "../shared/util.h" #include <wx/intl.h> #include <limits> #include <wx/stopwatch.h> @@ -31,11 +31,11 @@ RetrieveStatistics::~RetrieveStatistics() for (std::vector<statEntry>::const_iterator i = data.begin(); i != data.end(); ++i) { - outputFile.Write(globalFunctions::numberToWxString(int(i->time))); + outputFile.Write(FreeFileSync::numberToWxString(static_cast<int>(i->time), false)); outputFile.Write(wxT(";")); - outputFile.Write(globalFunctions::numberToWxString(i->objects)); + outputFile.Write(FreeFileSync::numberToWxString(i->objects, false)); outputFile.Write(wxT(";")); - outputFile.Write(globalFunctions::numberToWxString(float(i->value))); + outputFile.Write(FreeFileSync::numberToWxString(static_cast<int>(i->value), false)); outputFile.Write(wxT("\n")); } } @@ -104,7 +104,7 @@ wxString Statistics::formatRemainingTime(const double timeInMs) const } remainingTimeLast = formattedTime; - return globalFunctions::numberToWxString(formattedTime) + unit; + return FreeFileSync::numberToWxString(formattedTime, false) + unit; //+ wxT("(") + globalFunctions::numberToWxString(globalFunctions::round(timeInMs / 1000)) + wxT(")"); } |