summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-10 12:52:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-10 12:52:34 +0000
commit4f8ae924e26821de7d7ec033ac99056008aac10f (patch)
tree607c201e81b0ba8010e81ba89374cdf9215b36e8 /protocols/Yahoo/src
parent808419ba4249c4cfb2c4bb5891a599543ca9f25a (diff)
PS_GETUNREADEMAILCOUNT - the unified macro for "/GetUnreadEmailCount"
git-svn-id: http://svn.miranda-ng.org/main/trunk@6425 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src')
-rw-r--r--protocols/Yahoo/src/services.cpp2
-rw-r--r--protocols/Yahoo/src/yahoo.h17
2 files changed, 9 insertions, 10 deletions
diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp
index 2f88106ea1..7cd7556918 100644
--- a/protocols/Yahoo/src/services.cpp
+++ b/protocols/Yahoo/src/services.cpp
@@ -530,7 +530,7 @@ void CYahooProto::LoadYahooServices( void )
CreateProtoService(PS_GETMYAWAYMSG, &CYahooProto::GetMyAwayMsg);
CreateProtoService(PS_SEND_NUDGE, &CYahooProto::SendNudge);
- CreateProtoService(YAHOO_GETUNREAD_EMAILCOUNT, &CYahooProto::GetUnreadEmailCount);
+ CreateProtoService(PS_GETUNREADEMAILCOUNT, &CYahooProto::GetUnreadEmailCount);
//----| Set resident variables |------------------------------------------------------
diff --git a/protocols/Yahoo/src/yahoo.h b/protocols/Yahoo/src/yahoo.h
index ac60c1cc1c..de2e1fbfbf 100644
--- a/protocols/Yahoo/src/yahoo.h
+++ b/protocols/Yahoo/src/yahoo.h
@@ -76,15 +76,14 @@ extern int do_yahoo_debug;
YAHOO_DEBUGLOG x; \
YAHOO_DEBUGLOG(" ");}
-#define YAHOO_SET_CUST_STAT "/SetCustomStatCommand"
-#define YAHOO_EDIT_MY_PROFILE "/YahooEditMyProfileCommand"
-#define YAHOO_SHOW_PROFILE "/YahooShowProfileCommand"
-#define YAHOO_SHOW_MY_PROFILE "/YahooShowMyProfileCommand"
-#define YAHOO_YAHOO_MAIL "/YahooGotoMailboxCommand"
-#define YAHOO_REFRESH "/YahooRefreshCommand"
-#define YAHOO_AB "/YahooAddressBook"
-#define YAHOO_CALENDAR "/YahooCalendar"
-#define YAHOO_GETUNREAD_EMAILCOUNT "/GetUnreadEmailCount"
+#define YAHOO_SET_CUST_STAT "/SetCustomStatCommand"
+#define YAHOO_EDIT_MY_PROFILE "/YahooEditMyProfileCommand"
+#define YAHOO_SHOW_PROFILE "/YahooShowProfileCommand"
+#define YAHOO_SHOW_MY_PROFILE "/YahooShowMyProfileCommand"
+#define YAHOO_YAHOO_MAIL "/YahooGotoMailboxCommand"
+#define YAHOO_REFRESH "/YahooRefreshCommand"
+#define YAHOO_AB "/YahooAddressBook"
+#define YAHOO_CALENDAR "/YahooCalendar"
#define STYLE_DEFAULTBGCOLOUR RGB(173,206,247)