diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-29 17:32:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-29 17:32:02 +0300 |
commit | 55e72960be3926e041ac0baf00559ba46f59bba0 (patch) | |
tree | b773ec79838ef3dd89b01462397ef245de116468 /protocols/Steam/src | |
parent | c5f129e3645b4cd736935e3ae8a29e1c4a195380 (diff) |
unneeded macros removed
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/stdafx.h | 1 | ||||
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/steam_utils.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Steam/src/stdafx.h b/protocols/Steam/src/stdafx.h index 2ebe847089..44e3dfc893 100644 --- a/protocols/Steam/src/stdafx.h +++ b/protocols/Steam/src/stdafx.h @@ -41,7 +41,6 @@ #include "version.h"
#define MODULE "Steam"
-#define MODULEW L"Steam"
#define STEAM_API_TIMEOUT 30
#define STEAM_API_IDLEOUT_AWAY 600
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 107c086f08..264be85961 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -18,7 +18,7 @@ CSteamProto::CSteamProto(const char* protoName, const wchar_t* userName) GetModuleFileName(g_hInstance, filePath, MAX_PATH); wchar_t sectionName[100]; - mir_snwprintf(sectionName, L"%s/%s", LPGENW("Protocols"), MODULEW); + mir_snwprintf(sectionName, L"%s/%s", LPGENW("Protocols"), _A2W(MODULE)); char settingName[100]; mir_snprintf(settingName, "%s_%s", MODULE, "main"); diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp index 9a3633953f..6c70528787 100644 --- a/protocols/Steam/src/steam_utils.cpp +++ b/protocols/Steam/src/steam_utils.cpp @@ -181,7 +181,7 @@ void CSteamProto::ShowNotification(const wchar_t *caption, const wchar_t *messag void CSteamProto::ShowNotification(const wchar_t *message, int flags, MCONTACT hContact)
{
- ShowNotification(MODULEW, message, flags, hContact);
+ ShowNotification(_A2W(MODULE), message, flags, hContact);
}
INT_PTR __cdecl CSteamProto::OnGetEventTextChatStates(WPARAM pEvent, LPARAM datatype)
|