diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-03 11:23:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-03 11:23:33 +0000 |
commit | 9e1a2beaf1db681e6f0108d62f30e86a76bb6e9f (patch) | |
tree | 42521c10e2b37637545f883179928d294938c691 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 67585ba8617748c8df280ee6bb69214079017554 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 76163893b6..ecb45b6d12 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -920,7 +920,7 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM if (dat->bType == SESSIONTYPE_IM)
dat->savedSplitY = dat->splitterY;
else {
- SESSION_INFO *si = (SESSION_INFO *)dat->si;
+ SESSION_INFO *si = (SESSION_INFO*)dat->si;
dat->savedSplitY = si->iSplitterY;
}
dat->savedDynaSplit = dat->dynaSplitter;
@@ -1044,7 +1044,7 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM dat->dynaSplitter = dat->savedDynaSplit;
DM_RecalcPictureSize(dat);
if (dat->bType == SESSIONTYPE_CHAT) {
- SESSION_INFO *si = (SESSION_INFO *)dat->si;
+ SESSION_INFO *si = (SESSION_INFO*)dat->si;
si->iSplitterY = dat->savedSplitY;
dat->splitterY =si->iSplitterY + DPISCALEY_S(22);
}
@@ -3497,7 +3497,7 @@ quote_from_last: CallService(MS_FILE_SENDSPECIFICFILEST, (WPARAM)dat->hContact, (LPARAM)ppFiles);
else {
if (ServiceExists(MS_HTTPSERVER_ADDFILENAME)) {
- for (int i = 0; i < totalCount; i++) {
+ for (int i=0; i < totalCount; i++) {
char* szFileName = mir_t2a( ppFiles[i] );
char *szTemp = (char*)CallService(MS_HTTPSERVER_ADDFILENAME, (WPARAM)szFileName, 0);
mir_free( szFileName );
|