summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-06-06 10:15:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-06-06 10:15:32 +0000
commit441a5f30dd890a8a6db0c6931c23b42fb2d2f7ad (patch)
tree977f07b5d28547d225be8c1978d94823d67ee120
parente9fbe07bc0e9d95e5caf52fe5f3480fa4438e0ae (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Steam/src/steam_dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
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);