summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/theme.cpp')
-rw-r--r--protocols/Omegle/src/theme.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp
index d7f7fc7e9b..216e2fd98b 100644
--- a/protocols/Omegle/src/theme.cpp
+++ b/protocols/Omegle/src/theme.cpp
@@ -75,8 +75,7 @@ void InitIcons(void)
sid.iDefaultIndex = -icons[i].defIconID;
hIconLibItem[i] = Skin_AddIcon(&sid);
} else { // External icons
- hIconLibItem[i] = (HANDLE)CallService(MS_SKIN2_GETICONHANDLE,0,
- (LPARAM)icons[i].section);
+ hIconLibItem[i] = Skin_GetIconHandle(icons[i].section);
}
}
}