summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption_suboutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_suboutput.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption_suboutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_suboutput.cpp b/plugins/HistoryStats/src/dlgoption_suboutput.cpp
index a4b5de4231..dce580a1f6 100644
--- a/plugins/HistoryStats/src/dlgoption_suboutput.cpp
+++ b/plugins/HistoryStats/src/dlgoption_suboutput.cpp
@@ -178,7 +178,7 @@ void DlgOption::SubOutput::onWMInitDialog()
};
m_SortKeyToIndex.resize(Settings::skLAST - Settings::skFIRST + 1);
- m_IndexToSortKey.resize(array_len(sortKeys));
+ m_IndexToSortKey.resize(_countof(sortKeys));
array_each_(i, sortKeys)
{