summaryrefslogtreecommitdiff
path: root/library/statistics.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
commit618dfb51d93898632830f1b87443d3f748780871 (patch)
treebac520a2e261154f8d35b0cb8aa345f5ab373811 /library/statistics.cpp
parent3.4 (diff)
downloadFreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.gz
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.bz2
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.zip
3.5
Diffstat (limited to 'library/statistics.cpp')
-rw-r--r--library/statistics.cpp10
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(")");
}
bgstack15