summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/settingsserializer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-13 13:14:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-13 13:14:59 +0000
commit09328f1364768480ba83b7dc9bd7f9235d8a0767 (patch)
treed071f4100b68f9af091f5b6d3c58d3cd17472cb0 /plugins/HistoryStats/src/settingsserializer.cpp
parente0ed9d34c0c21d3436e855fa1d32a0f824583116 (diff)
fix for a crash (thx white_tiger for a patch)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/settingsserializer.cpp')
-rw-r--r--plugins/HistoryStats/src/settingsserializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/settingsserializer.cpp b/plugins/HistoryStats/src/settingsserializer.cpp
index dae50d05e4..5b3b428481 100644
--- a/plugins/HistoryStats/src/settingsserializer.cpp
+++ b/plugins/HistoryStats/src/settingsserializer.cpp
@@ -225,7 +225,7 @@ void SettingsSerializer::readFromDB()
settingsTree.setKey(strPrefix.c_str());
FilterSet::iterator F = m_FilterWords.insert(Filter(settingsTree.readStr(con::KeyID, _T("")))).first;
- Filter* curFilter = (Filter*)&F;
+ Filter* curFilter = (Filter*)&*F;
curFilter->setName(settingsTree.readStr(con::KeyName, _T("")));
curFilter->setMode(settingsTree.readIntRanged(con::KeyMode, fwmWordsMatching, fwmFIRST, fwmLAST));