Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/30/head
Michele Calgaro 1 year ago
parent 4a6bec5814
commit ec98d0f2b1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

@ -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();

Loading…
Cancel
Save