summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_svc.cpp')
-rw-r--r--plugins/NewStory/src/history_svc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_svc.cpp b/plugins/NewStory/src/history_svc.cpp
index db05f3da04..3010db5a81 100644
--- a/plugins/NewStory/src/history_svc.cpp
+++ b/plugins/NewStory/src/history_svc.cpp
@@ -22,7 +22,7 @@ static INT_PTR SvcGetCurrent(WPARAM wParam, LPARAM)
{
if (auto *pData = (NewstoryListData *)wParam)
if (auto *p = pData->GetItem(pData->caret))
- return p->hEvent;
+ return p->dbe.getEvent();
return 0;
}
@@ -41,11 +41,11 @@ static INT_PTR SvcGetSelection(WPARAM wParam, LPARAM lParam)
for (int i = pData->totalCount; i >= 0; i--)
if (auto *p = pData->items.get(i))
if (p->m_bSelected)
- pRet->push_back(p->hEvent);
+ pRet->push_back(p->dbe.getEvent());
if (pRet->empty() && pData->caret != -1)
if (auto *p = pData->GetItem(pData->caret))
- pRet->push_back(p->hEvent);
+ pRet->push_back(p->dbe.getEvent());
}
return 0;