summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/tabs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-12 13:12:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-12 13:12:37 +0300
commit78f4e3d07a8d405e642bec6a40e74d57fe9073c6 (patch)
treefa9bd41e0f040e24de5ed30c278a92d149898fdd /plugins/Scriver/src/tabs.cpp
parentb17edd86654fa52cac4d05d02b085e0941552de7 (diff)
fix for a tab icon for message sessions
Diffstat (limited to 'plugins/Scriver/src/tabs.cpp')
-rw-r--r--plugins/Scriver/src/tabs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/tabs.cpp b/plugins/Scriver/src/tabs.cpp
index 39202809d0..f6d5032be8 100644
--- a/plugins/Scriver/src/tabs.cpp
+++ b/plugins/Scriver/src/tabs.cpp
@@ -163,7 +163,7 @@ static int AddOrReplaceIcon(HIMAGELIST hList, int prevIndex, HICON hIcon)
else prevIndex = g_dat.tabIconListUsage[usageIdx].index;
g_dat.tabIconListUsage[usageIdx].used = 1;
- g_dat.tabIconListUsage[usageIdx].index = (int)ImageList_ReplaceIcon(hList, prevIndex, hIcon);
+ g_dat.tabIconListUsage[usageIdx].index = ImageList_ReplaceIcon(hList, prevIndex, hIcon);
return g_dat.tabIconListUsage[usageIdx].index;
}