summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/fonts.cpp2
-rw-r--r--plugins/NewStory/src/history.h1
-rw-r--r--plugins/NewStory/src/history_log.cpp4
3 files changed, 2 insertions, 5 deletions
diff --git a/plugins/NewStory/src/fonts.cpp b/plugins/NewStory/src/fonts.cpp
index df32f891b1..c59acad7c2 100644
--- a/plugins/NewStory/src/fonts.cpp
+++ b/plugins/NewStory/src/fonts.cpp
@@ -76,7 +76,7 @@ int evtFontsChanged(WPARAM, LPARAM)
it.hfnt = CreateFontIndirectA(&it.lf);
}
- WindowList_Broadcast(g_hNewstoryWindows, UM_REDRAWLISTH, 0, 0);
+ WindowList_Broadcast(g_hNewstoryLogs, UM_REDRAWLISTH, 0, 0);
return 0;
}
diff --git a/plugins/NewStory/src/history.h b/plugins/NewStory/src/history.h
index ef1d9f5961..0d5b1c74a1 100644
--- a/plugins/NewStory/src/history.h
+++ b/plugins/NewStory/src/history.h
@@ -11,7 +11,6 @@ enum
UM_REBUILDLIST,
UM_FILTERLIST,
- UM_REDRAWLIST,
UM_REDRAWLISTH,
UM_ADDEVENT,
diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp
index ec1aec4ff7..f94f3a33fc 100644
--- a/plugins/NewStory/src/history_log.cpp
+++ b/plugins/NewStory/src/history_log.cpp
@@ -38,13 +38,11 @@ public:
m_histCtrl = (NewstoryListData *)GetWindowLongPtr(m_hwnd, 0);
m_histCtrl->SetDialog(&m_pDlg);
-
- WindowList_Add(g_hNewstoryWindows, m_pDlg.GetHwnd(), m_pDlg.m_hContact);
}
void Detach() override
{
- WindowList_Remove(g_hNewstoryWindows, m_pDlg.GetHwnd());
+ WindowList_Remove(g_hNewstoryLogs, m_pDlg.GetHwnd());
::DestroyWindow(m_hwnd);
}