From fd833d6ff60603f6caf772864f39ebf0a64b5b8b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jul 2013 20:43:50 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdlgutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 2dac49be97..2385b9fed7 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -382,8 +382,8 @@ int TSAPI MsgWindowMenuHandler(TWindowData *dat, int selection, int menuId) if (dat && dat->bType == SESSIONTYPE_CHAT) { SESSION_INFO *si = (SESSION_INFO *)dat->si; if ( (si != NULL) && (dat->hContact != NULL)) { - char* szProto = GetContactProto(dat->hContact); - if ( szProto ) + char *szProto = GetContactProto(dat->hContact); + if (szProto) CallProtoService( szProto, PS_LEAVECHAT, (WPARAM)dat->hContact, 0 ); } } @@ -2399,7 +2399,7 @@ void TSAPI SendHBitmapAsFile(const TWindowData* dat, HBITMAP hbmp) size_t tempdirlen = GetTempPath(MAX_PATH, filename); bool fSend = true; - const char* szProto = dat->cache->getActiveProto(); + const char *szProto = dat->cache->getActiveProto(); WORD wMyStatus = (WORD)CallProtoService(szProto, PS_GETSTATUS, 0, 0); DWORD protoCaps = CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_1, 0); -- cgit v1.2.3