summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-08 14:22:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-08 14:22:06 +0300
commit447e5fbb0fc7062b6749afe84252e2978ee57094 (patch)
tree4d21b130a47ce39e443da38075f1b5231422050f /plugins/NewStory/src/options.cpp
parent265d46dea7c95dfb1bf78cdba7299fd39767abd0 (diff)
NewStory to use common icons for files & URLs
Diffstat (limited to 'plugins/NewStory/src/options.cpp')
-rw-r--r--plugins/NewStory/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp
index 30b4c314ad..f5306862bd 100644
--- a/plugins/NewStory/src/options.cpp
+++ b/plugins/NewStory/src/options.cpp
@@ -120,7 +120,7 @@ public:
tvis.hInsertAfter = TVI_LAST;
tvis.item.mask = TVIF_TEXT | TVIF_PARAM | TVIF_IMAGE | TVIF_SELECTEDIMAGE;
tvis.item.pszText = TranslateW(it.title);
- tvis.item.iSelectedImage = tvis.item.iImage = ImageList_AddIcon(himgTree, g_plugin.getIcon(it.icon));
+ tvis.item.iSelectedImage = tvis.item.iImage = ImageList_AddIcon(himgTree, it.getIcon());
tvis.item.lParam = (LPARAM)&it;
m_tree.InsertItem(&tvis);