summaryrefslogtreecommitdiffstats
path: root/src/Statistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statistics.cpp')
-rw-r--r--src/Statistics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statistics.cpp b/src/Statistics.cpp
index 94076f828..65addb0dd 100644
--- a/src/Statistics.cpp
+++ b/src/Statistics.cpp
@@ -114,7 +114,7 @@ eStatistic cStatInfo::GetType(const AString & a_Name)
{
for (unsigned int i = 0; i < ARRAYCOUNT(ms_Info); ++i)
{
- if (NoCaseCompare(ms_Info[i].m_Name, a_Name))
+ if (NoCaseCompare(ms_Info[i].m_Name, a_Name) == 0)
{
return ms_Info[i].m_Type;
}