summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp
index 1cd971f388..7f1b35bb9b 100644
--- a/plugins/NewStory/src/history_log.cpp
+++ b/plugins/NewStory/src/history_log.cpp
@@ -63,9 +63,9 @@ public:
return m_hwnd;
}
- wchar_t *GetSelection() override
+ wchar_t* GetSelectedText() override
{
- return nullptr;
+ return m_histCtrl->GatherSelected(true).Detach();
}
int GetType() override