diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-16 19:50:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-16 19:50:49 +0300 |
commit | 2948d9339597f89a03d3f91a71b9732c3799b428 (patch) | |
tree | c89da32bd4072c6c36fb51f5b0cc55d73a81461b /plugins/AVS/src | |
parent | 6f0bfb5bc1dd9703130af0d65939bc9db839e58e (diff) |
fixes #3159 (various quirks in the View/Change my details window)
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/userInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/userInfo.cpp b/plugins/AVS/src/userInfo.cpp index 919bf96847..ca47ea06be 100644 --- a/plugins/AVS/src/userInfo.cpp +++ b/plugins/AVS/src/userInfo.cpp @@ -466,6 +466,8 @@ int OnDetailsInit(WPARAM wParam, LPARAM hContact) { USERINFOPAGE uip = {}; uip.szTitle.a = LPGEN("Avatar"); + uip.flags = ODPF_ICON; + uip.dwInitParam = (LPARAM)g_plugin.getIconHandle(IDI_AVATAR); if (hContact == NULL) { // User dialog @@ -476,10 +478,8 @@ int OnDetailsInit(WPARAM wParam, LPARAM hContact) char *szProto = Proto_GetBaseAccountName(hContact); if (szProto == nullptr || g_plugin.getByte(szProto, 1)) { // Contact dialog - uip.flags = ODPF_ICON; uip.position = -2000000000; uip.pDialog = new AvatarUserInfoDlg(); - uip.dwInitParam = (LPARAM)g_plugin.getIconHandle(IDI_AVATAR); g_plugin.addUserInfo(wParam, &uip); } } |