From a093e87bd3ce421ecd2a39278162dddb5dd745c8 Mon Sep 17 00:00:00 2001 From: unodgs Date: Fri, 12 Jun 2009 20:55:50 +0000 Subject: [PATCH] Fixed crash in search for incorrect converters git-svn-id: svn://ultimatepp.org/upp/trunk@1301 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/GridCtrl/GridCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uppsrc/GridCtrl/GridCtrl.cpp b/uppsrc/GridCtrl/GridCtrl.cpp index fe62c4177..2755a261d 100644 --- a/uppsrc/GridCtrl/GridCtrl.cpp +++ b/uppsrc/GridCtrl/GridCtrl.cpp @@ -7173,7 +7173,7 @@ int GridCtrl::ShowMatchedRows(const WString &f) if(hitems[j].hidden) continue; - if(Match(f, (WString) GetStdConvertedColumn(j, it.val), s, e)) + if(Match(f, (WString) GetStdConvertedColumn(idh, it.val), s, e)) { first_matched_row = i; rowfnd = i; @@ -7204,7 +7204,7 @@ int GridCtrl::ShowMatchedRows(const WString &f) if(hitems[j].hidden) continue; - if(Match(f, (WString) GetStdConvertedColumn(j, it.val), s, e)) + if(Match(f, (WString) GetStdConvertedColumn(idh, it.val), s, e)) { match = true; it.Found(search_highlight);