From 441a5f30dd890a8a6db0c6931c23b42fb2d2f7ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Jun 2016 10:15:32 +0000 Subject: crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/Steam/src/steam_dialogs.cpp b/protocols/Steam/src/steam_dialogs.cpp index 8cab0aecf3..c9bfb2540b 100644 --- a/protocols/Steam/src/steam_dialogs.cpp +++ b/protocols/Steam/src/steam_dialogs.cpp @@ -51,7 +51,7 @@ void CSteamGuardDialog::OnInitDialog() { char iconName[100]; mir_snprintf(iconName, "%s_%s", MODULE, "main"); - Window_SetIcon_IcoLib(m_hwnd, iconName); + Window_SetIcon_IcoLib(m_hwnd, IcoLib_GetIconHandle(iconName)); SendMessage(m_text.GetHwnd(), EM_LIMITTEXT, 5, 0); -- cgit v1.2.3