diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-23 10:45:23 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-25 12:56:33 +0900 |
| commit | c74c32e785d223aa426005dadf2c1a4f9d7d6c28 (patch) | |
| tree | 65cdf583e409a4bf7f67c2bc2854c74f3ecfb220 | |
| parent | bc91969a4f296e341de8a17619d2264c685de5cc (diff) | |
| download | bibletime-c74c32e7.tar.gz bibletime-c74c32e7.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ec98d0f2b17cc5e69babced4f5618508c16bcb4d)
| -rw-r--r-- | bibletime/frontend/mainindex/cmainindex.cpp | 2 | ||||
| -rw-r--r-- | bibletime/frontend/searchdialog/csearchdialogpages.cpp | 8 |
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(); |
