aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/windoze/CBuilder5/BibleCS/searchfrm.cpp')
-rw-r--r--apps/windoze/CBuilder5/BibleCS/searchfrm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp b/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
index a0591d4..da4b957 100644
--- a/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
+++ b/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
@@ -133,7 +133,7 @@ void __fastcall TsearchForm::ListBox1Click(TObject *Sender)
int row = focused->Index;
ListKey verse;
verse << resultsLV->Items->Item[row]->Caption.c_str();
- pvrtf->fillWithVerses(target, &verse, true, false);
+ pvrtf->fillWithVerses(target, &verse, true, false, "Search");
}
}
}
@@ -258,7 +258,7 @@ void __fastcall TsearchForm::resultsLVCustomDrawItem(TCustomListView *Sender, TL
if (!SWDYNAMIC_CAST(VerseKey, key))
filter.ProcessText(buf, 253, *target, target);
- RTFHintForm->searchListDrawer->fillWithRTFString(target, ((String)" \\b " + buf + " ").c_str());
+ RTFHintForm->searchListDrawer->fillWithRTFString(target, ((String)" \\b " + buf + " ").c_str(), "Search");
if (resultsLV->Selected == Item) RTFHintForm->searchListDrawer->Color = TColor(0xB4CDBB);
Sender->Canvas->Brush->Color = RTFHintForm->searchListDrawer->Color;
Sender->Canvas->FillRect(rect);
@@ -268,7 +268,7 @@ void __fastcall TsearchForm::resultsLVCustomDrawItem(TCustomListView *Sender, TL
ListKey verse;
verse << Item->Caption.c_str();
- RTFHintForm->searchListDrawer->fillWithVerses(target, &verse, false, false, "Default", true);
+ RTFHintForm->searchListDrawer->fillWithVerses(target, &verse, false, false, "Search", true);
//set color back in case it got changed in fill*
if (resultsLV->Selected == Item) RTFHintForm->searchListDrawer->Color = TColor(0xB4CDBB);