diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-28 15:34:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-28 15:34:40 +0000 |
commit | ba4e625ef4f8159b79bf7a2be83a5e706c3e655b (patch) | |
tree | fb9d8017aed9b311387917dc33969fa90cd5e917 /plugins/Clist_modern/src/modern_clc.cpp | |
parent | dcab83811dfb2d8f2a64c606995cd8ca35c1f6bb (diff) |
fixes #1246 (Stripped height of rows in clist_modern)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16882 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index 914cc0d175..078bcfbfc4 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -229,9 +229,8 @@ static int clcSearchNextContact(HWND hwnd, ClcData *dat, int index, const TCHAR TCHAR *lowered_search = CharLowerW(NEWTSTR_ALLOCA(dat->szQuickSearch));
found = _tcsstr(lowered_szText, lowered_search) != NULL;
}
- else {
- found = ((prefixOk && CSTR_EQUAL == CompareString(LOCALE_INVARIANT, NORM_IGNORECASE, text, -1, cc->szText, testlen)) || (!prefixOk && !mir_tstrcmpi(text, cc->szText)));
- }
+ else found = ((prefixOk && CSTR_EQUAL == CompareString(LOCALE_INVARIANT, NORM_IGNORECASE, text, -1, cc->szText, testlen)) || (!prefixOk && !mir_tstrcmpi(text, cc->szText)));
+
if (found) {
ClcGroup *contactGroup = group;
int contactScanIndex = group->scanIndex;
|