diff options
Diffstat (limited to 'plugins/AVS/src/userInfo.cpp')
-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); } } |