From 9e1a2beaf1db681e6f0108d62f30e86a76bb6e9f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 3 Aug 2013 11:23:33 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') 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 ); -- cgit v1.2.3