From 2072201029bdd799396b37de23410bab71cc653e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Jun 2013 16:58:18 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/services.cpp | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'protocols/Yahoo/src/services.cpp') diff --git a/protocols/Yahoo/src/services.cpp b/protocols/Yahoo/src/services.cpp index 1e5b7648f5..64756331db 100644 --- a/protocols/Yahoo/src/services.cpp +++ b/protocols/Yahoo/src/services.cpp @@ -239,7 +239,7 @@ void CYahooProto::OpenURL(const char *url, int autoLogin) DebugLog("[YahooOpenURL] url: %s Final URL: %s", url, tUrl); - CallService( MS_UTILS_OPENURL, TRUE, (LPARAM)tUrl ); + CallService(MS_UTILS_OPENURL, TRUE, (LPARAM)tUrl); } //======================================================= @@ -367,13 +367,13 @@ INT_PTR __cdecl CYahooProto::GetUnreadEmailCount(WPARAM wParam, LPARAM lParam) void CYahooProto::MenuMainInit( void ) { char servicefunction[ 100 ]; - lstrcpyA( servicefunction, m_szModuleName ); + lstrcpyA( servicefunction, m_szModuleName); char* tDest = servicefunction + lstrlenA( servicefunction ); CLISTMENUITEM mi = { sizeof(mi) }; mi.pszService = servicefunction; - HGENMENU hRoot = MO_GetProtoRootMenu( m_szModuleName ); + HGENMENU hRoot = MO_GetProtoRootMenu( m_szModuleName); if ( hRoot == NULL) { mi.position = 500015000; mi.hParentMenu = HGENMENU_ROOT; @@ -468,7 +468,7 @@ void CYahooProto::MenuMainInit( void ) void CYahooProto::MenuContactInit( void ) { char servicefunction[ 100 ]; - lstrcpyA( servicefunction, m_szModuleName ); + lstrcpyA( servicefunction, m_szModuleName); char* tDest = servicefunction + lstrlenA( servicefunction ); CLISTMENUITEM mi = { sizeof(mi) }; @@ -489,9 +489,9 @@ void CYahooProto::MenuContactInit( void ) void CYahooProto::MenuUninit( void ) { if ( mainMenuRoot ) - CallService( MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)mainMenuRoot, 0); + CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)mainMenuRoot, 0); - CallService( MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hShowProfileMenuItem, 0); + CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hShowProfileMenuItem, 0); } int __cdecl CYahooProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) @@ -518,7 +518,7 @@ void CYahooProto::LoadYahooServices( void ) YHookEvent( ME_OPT_INITIALISE, &CYahooProto::OnOptionsInit ); //----| Create nudge event |---------------------------------------------------------- - mir_snprintf( path, SIZEOF(path), "%s/Nudge", m_szModuleName); + mir_snprintf(path, SIZEOF(path), "%s/Nudge", m_szModuleName); hYahooNudge = CreateHookableEvent( path ); //----| Service creation |------------------------------------------------------------ @@ -536,27 +536,27 @@ void CYahooProto::LoadYahooServices( void ) //----| Set resident variables |------------------------------------------------------ - mir_snprintf( path, SIZEOF(path), "%s/Status", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/Status", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/YStatus", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/YStatus", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/YAway", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/YAway", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/Mobile", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/Mobile", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/YGMsg", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/YGMsg", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/IdleTS", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/IdleTS", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/PictLastCheck", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/PictLastCheck", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); - mir_snprintf( path, SIZEOF(path), "%s/PictLoading", m_szModuleName ); - CallService( MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path ); + mir_snprintf(path, SIZEOF(path), "%s/PictLoading", m_szModuleName); + CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); } -- cgit v1.2.3