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-23 10:48:52 +0900 |
| commit | ec98d0f2b17cc5e69babced4f5618508c16bcb4d (patch) | |
| tree | 23c344c63765ac47f13f6e2b346e78bd8569564b | |
| parent | 4a6bec581495694c3e503d949bce2b7234a2bdf8 (diff) | |
| download | bibletime-ec98d0f2b17cc5e69babced4f5618508c16bcb4d.tar.gz bibletime-ec98d0f2b17cc5e69babced4f5618508c16bcb4d.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -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 fd0fe14..a2df182 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 73cbfd6..b502292 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(); |
