diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-10 22:08:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-10 22:08:56 +0300 |
commit | 261ed21b6c91fcf366d5ae6e96c1e363bd3d0210 (patch) | |
tree | b847653c07dc0057c292c86ab18849bbdae3a8cc /plugins/HistoryStats | |
parent | c98ff02a2e28c4f720bacc642d674bd90762ac34 (diff) |
fixes #1834 (HistoryStats Crashes Miranda on report creation)
Diffstat (limited to 'plugins/HistoryStats')
-rw-r--r-- | plugins/HistoryStats/src/column_events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/column_events.cpp b/plugins/HistoryStats/src/column_events.cpp index b1ac0e0f0c..e51d79d1e8 100644 --- a/plugins/HistoryStats/src/column_events.cpp +++ b/plugins/HistoryStats/src/column_events.cpp @@ -6,7 +6,7 @@ */
ColEvents::ColEvents()
- : m_nSource(5), m_hSource(nullptr)
+ : m_nSource(2), m_hSource(nullptr)
{
}
@@ -19,7 +19,7 @@ void ColEvents::impl_copyConfig(const Column* pSource) void ColEvents::impl_configRead(const SettingsTree& settings)
{
- m_nSource = settings.readIntRanged(con::KeySource, 5, 0, 5);
+ m_nSource = settings.readIntRanged(con::KeySource, 2, 0, 2);
}
void ColEvents::impl_configWrite(SettingsTree& settings) const
@@ -70,7 +70,7 @@ void ColEvents::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) void ColEvents::impl_outputRenderRow(ext::ostream& tos, const Contact& contact, DisplayType)
{
- static int (Contact::*getData[6])() const = {
+ static int (Contact::*getData[3])() const = {
&Contact::getInFiles,
&Contact::getOutFiles,
&Contact::getTotalFiles,
|