diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-25 16:25:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-25 16:25:33 +0300 |
commit | 555d5d02725f7f81562bdcdb7c2c5ae27230a4f4 (patch) | |
tree | f88d6766e834099910f33cd9486b7b82ee0cdbf7 /plugins/NewStory/src/options.cpp | |
parent | ca0f88fea7e2c6cc3eaf506b897ebad95239d4c1 (diff) |
NewStory: major code cleaning
Diffstat (limited to 'plugins/NewStory/src/options.cpp')
-rw-r--r-- | plugins/NewStory/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp index f873699eec..62d99ce804 100644 --- a/plugins/NewStory/src/options.cpp +++ b/plugins/NewStory/src/options.cpp @@ -10,7 +10,7 @@ class COptionsDlg : public CDlgBase { replaceStrW(m_curr->tmpValue, m_edit.GetText()); - HistoryArray::ItemData item; + ItemData item; item.hContact = db_find_first(); while (item.hContact && !item.hEvent) { item.hEvent = db_event_first(item.hContact); @@ -19,7 +19,7 @@ class COptionsDlg : public CDlgBase } if (item.hContact && item.hEvent) { - item.load(ELM_DATA); + item.load(ItemData::ELM_DATA); ptrW wszText(TplFormatStringEx(int(m_curr-templates), m_curr->tmpValue, item.hContact, &item)); preview.SetText(wszText); |