summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bibletime/frontend/mainindex/cmainindex.cpp2
-rw-r--r--bibletime/frontend/searchdialog/csearchdialogpages.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/bibletime/frontend/mainindex/cmainindex.cpp b/bibletime/frontend/mainindex/cmainindex.cpp
index 8da6e46..0093a3c 100644
--- a/bibletime/frontend/mainindex/cmainindex.cpp
+++ b/bibletime/frontend/mainindex/cmainindex.cpp
@@ -300,7 +300,7 @@ void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* parent, TQListViewItem
if (afterItem && afterItem->isFolder()) {
moveSelectedItems = false;
- removeSelectedItems = false; //why TRUE?
+ removeSelectedItems = false;
afterItem->setOpen(true);
afterItem->dropped(e); //inserts new items, moving only works on the same level
diff --git a/bibletime/frontend/searchdialog/csearchdialogpages.cpp b/bibletime/frontend/searchdialog/csearchdialogpages.cpp
index c30aa5f..776a0c6 100644
--- a/bibletime/frontend/searchdialog/csearchdialogpages.cpp
+++ b/bibletime/frontend/searchdialog/csearchdialogpages.cpp
@@ -93,18 +93,18 @@ void StrongsResultClass::initStrongsResults(void) {
while ((rText = getStrongsNumberText(text, &sIndex)) != "")
{
StrongsResultList::iterator it;
- found = FALSE;
+ found = false;
for ( it = srList.begin(); it != srList.end(); ++it )
{
lText = (*it).keyText();
if (lText == rText)
{
- found = TRUE;
+ found = true;
(*it).addKeyName(key);
break;
}
}
- if (found == FALSE)
+ if (found == false)
srList.append( StrongsResult(rText, key) );
}
}
@@ -525,7 +525,7 @@ const TQString CSearchResultPage::highlightSearchedText(const TQString& content,
length = word.length() - 1;
word.replace('*', "\\S*"); //match within a word
findExp = TQRegExp(word);
- findExp.setMinimal(TRUE);
+ findExp.setMinimal(true);
}
else {
length = word.length();