From f44ad953bb6472ea16a2ff59ee290ddfaaf72736 Mon Sep 17 00:00:00 2001 From: klugier Date: Sun, 18 Sep 2016 12:33:45 +0000 Subject: [PATCH] .ide .cosmetic Remove NOTE comment in FindFile.cpp git-svn-id: svn://ultimatepp.org/upp/trunk@10220 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/FindFile.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uppsrc/ide/FindFile.cpp b/uppsrc/ide/FindFile.cpp index 83ba87f44..b5244c754 100644 --- a/uppsrc/ide/FindFile.cpp +++ b/uppsrc/ide/FindFile.cpp @@ -97,8 +97,6 @@ Vector FindFileWindow::GetFindedFilesData() const { Vector data; - // NOTE: maybe there is cleaner way to obtain multiselected rows, - // but I don't find it right now. for(int i = 0; i < list.GetCount(); i++) { if(list.IsSelected(i)) { data.Add(FindFileData(list.Get(i, 0), list.Get(i, 1))); @@ -130,7 +128,7 @@ void FindFileWindow::OnSearch() bool FindFileWindow::DoseFileMeetTheCriteria(const Package::File& file, const String& packageName, const String& query) { - if (searchInCurrentPackage&& !IsActualPackage(packageName)) + if (searchInCurrentPackage && !IsActualPackage(packageName)) return false; return !file.separator && (ToUpper(packageName).Find(query) >= 0 || ToUpper(file).Find(query) >= 0);