summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/process_xml.h2
-rw-r--r--library/statistics.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/library/process_xml.h b/library/process_xml.h
index 589865a2..d627fc18 100644
--- a/library/process_xml.h
+++ b/library/process_xml.h
@@ -161,7 +161,7 @@ struct XmlGlobalSettings
{
//default external apps will be translated "on the fly"!!!
#ifdef FFS_WIN
- externelApplications.push_back(std::make_pair(wxT("Open with Explorer"), //mark for extraction: _("Open with Explorer")
+ externelApplications.push_back(std::make_pair(wxT("Show in Explorer"), //mark for extraction: _("Show in Explorer")
wxT("explorer /select, \"%name\"")));
externelApplications.push_back(std::make_pair(wxT("Open with default application"), //mark for extraction: _("Open with default application")
wxT("cmd /c start \"\" \"%name\"")));
diff --git a/library/statistics.cpp b/library/statistics.cpp
index cb68d1de..d5cce670 100644
--- a/library/statistics.cpp
+++ b/library/statistics.cpp
@@ -144,7 +144,10 @@ void Statistics::addMeasurement(int objectsCurrent, double dataCurrent)
//insert new record
if (!measurements.empty())
- measurements.insert(--measurements.end(), newEntry); //use fact that time is monotonously ascending
+ {
+ //assert(dataCurrent >= (--measurements.end())->second.data);
+ measurements.insert(--measurements.end(), newEntry); //use fact that time is monotonously ascending
+ }
else
measurements.insert(newEntry);
bgstack15