diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-07 13:02:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-07 13:02:12 +0300 |
commit | 13474cea9a306a3bc8ffd24545836b919463c056 (patch) | |
tree | e1e31fd79368afa89529eb3ac594fa19840cea81 /protocols/Steam | |
parent | 3ac6eea5b042cf04e28060c47369e999fbdf3ad5 (diff) |
fixes #1536 (Steam and BuddyPounce menu items appear for all contacts)
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_menus.cpp | 5 | ||||
-rw-r--r-- | protocols/Steam/src/version.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp index 91feead56a..c14b086b83 100644 --- a/protocols/Steam/src/steam_menus.cpp +++ b/protocols/Steam/src/steam_menus.cpp @@ -83,6 +83,9 @@ INT_PTR CSteamProto::OpenBlockListCommand(WPARAM, LPARAM) int CSteamProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM)
{
+ for (auto &it : contactMenuItems)
+ Menu_ShowItem(it, false);
+
if (!hContact)
return 0;
@@ -110,7 +113,7 @@ int CSteamProto::PrebuildContactMenu(WPARAM hContact, LPARAM lParam) for (int i = 0; i < CMI_MAX; i++)
Menu_ShowItem(CSteamProto::contactMenuItems[i], false);
- CSteamProto* ppro = CMPlugin::getInstance((MCONTACT)hContact);
+ CSteamProto *ppro = CMPlugin::getInstance((MCONTACT)hContact);
return (ppro) ? ppro->OnPrebuildContactMenu(hContact, lParam) : 0;
}
diff --git a/protocols/Steam/src/version.h b/protocols/Steam/src/version.h index 755837fc20..6e3077a59a 100644 --- a/protocols/Steam/src/version.h +++ b/protocols/Steam/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 6
-#define __BUILD_NUM 3
+#define __BUILD_NUM 4
#include <stdver.h>
|