summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcpaint.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-07-19 18:18:13 +0000
committerRobert Pösel <robyer@seznam.cz>2012-07-19 18:18:13 +0000
commitc9a9db42fc216d6106e09def83a295c77ce080ab (patch)
treeb8d15482c11190cc0a8ce89cbcd0b7d3ef8d8bd4 /plugins/Clist_modern/src/modern_clcpaint.cpp
parent5592c77cdc47f100bc705a2a51a27c737ef78b97 (diff)
clist_modern crashfix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcpaint.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcpaint.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Clist_modern/src/modern_clcpaint.cpp b/plugins/Clist_modern/src/modern_clcpaint.cpp
index 294a5c7a1d..31e2dd2386 100644
--- a/plugins/Clist_modern/src/modern_clcpaint.cpp
+++ b/plugins/Clist_modern/src/modern_clcpaint.cpp
@@ -949,8 +949,8 @@ void CLCPaint::_PaintRowItemsEx( HWND hwnd, HDC hdcMem, struct ClcData *dat, str
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}
@@ -1034,8 +1034,8 @@ void CLCPaint::_PaintRowItemsEx( HWND hwnd, HDC hdcMem, struct ClcData *dat, str
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}
@@ -1127,8 +1127,8 @@ void CLCPaint::_PaintRowItemsEx( HWND hwnd, HDC hdcMem, struct ClcData *dat, str
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}
@@ -1224,8 +1224,8 @@ void CLCPaint::_PaintRowItemsEx( HWND hwnd, HDC hdcMem, struct ClcData *dat, str
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}
@@ -3181,8 +3181,8 @@ void CLCPaint::_DrawContactText( HDC hdcMem, struct ClcData *dat, struct ClcCont
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}
@@ -3204,8 +3204,8 @@ void CLCPaint::_DrawContactText( HDC hdcMem, struct ClcData *dat, struct ClcCont
int idx = 0;
if ( dat->filterSearch )
{
- TCHAR* lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
- TCHAR* p1 = _tcsstr(lowered, dat->szQuickSearch);
+ TCHAR *lowered = CharLowerW(NEWTSTR_ALLOCA(Drawing->szText));
+ TCHAR *p1 = _tcsstr(lowered, dat->szQuickSearch);
if (p1)
idx = int(p1 - lowered);
}