diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-23 20:43:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-23 20:43:50 +0000 |
commit | fd833d6ff60603f6caf772864f39ebf0a64b5b8b (patch) | |
tree | 865133996052f321f7b594f6377390d955bdfef2 /plugins/TabSRMM/src/msgdlgutils.cpp | |
parent | 90e458dac28dc98d60ab00b35ddcfd09fb46811a (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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);
|