diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 10:26:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 10:26:13 +0000 |
commit | db3fa3f362d1d122e54836acccf1b6121733dd16 (patch) | |
tree | af77b8fea124079cdf463199d38dc4aa4abb920d /src/mir_app | |
parent | 64dd5d270e470cbf8ec610ac536e4c06f46b0cb2 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_rtf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/chat_rtf.cpp b/src/mir_app/src/chat_rtf.cpp index d7ce42dbf3..fe1e7ab537 100644 --- a/src/mir_app/src/chat_rtf.cpp +++ b/src/mir_app/src/chat_rtf.cpp @@ -33,7 +33,7 @@ static TCHAR tszRtfBreaks[] = _T(" \\\n\r"); static void CreateColorMap(CMString &Text, int iCount, COLORREF *pSrc, int *pDst) { const TCHAR *pszText = Text; - int iIndex = 1, i = 0; + int iIndex = 1; static const TCHAR *lpszFmt = _T("\\red%[^ \x5b\\]\\green%[^ \x5b\\]\\blue%[^ \x5b;];"); TCHAR szRed[10], szGreen[10], szBlue[10]; @@ -46,7 +46,7 @@ static void CreateColorMap(CMString &Text, int iCount, COLORREF *pSrc, int *pDst const TCHAR *p2 = _tcsstr(p1, _T("\\red")); - for (i = 0; i < iCount; i++) + for (int i = 0; i < iCount; i++) pDst[i] = -1; while (p2 && p2 < pEnd) { |