X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..3b01b1fe4cb656f39290bf7f3891667855abe601:/src/common/tokenzr.cpp?ds=sidebyside diff --git a/src/common/tokenzr.cpp b/src/common/tokenzr.cpp index 937987241c..43641b726e 100644 --- a/src/common/tokenzr.cpp +++ b/src/common/tokenzr.cpp @@ -102,11 +102,11 @@ void wxStringTokenizer::Reinit(const wxString& str) // do we have more of them? bool wxStringTokenizer::HasMoreTokens() const { - wxCHECK_MSG( IsOk(), FALSE, _T("you should call SetString() first") ); + wxCHECK_MSG( IsOk(), false, _T("you should call SetString() first") ); if ( m_string.find_first_not_of(m_delims) == wxString::npos ) { - // no non empty tokens left, but in 2 cases we still may return TRUE if + // no non empty tokens left, but in 2 cases we still may return true if // GetNextToken() wasn't called yet for this empty token: // // a) in wxTOKEN_RET_EMPTY_ALL mode we always do it @@ -115,13 +115,13 @@ bool wxStringTokenizer::HasMoreTokens() const // token just before it return (m_mode == wxTOKEN_RET_EMPTY_ALL) || (m_mode == wxTOKEN_RET_EMPTY && m_pos == 0) - ? m_hasMore : FALSE; + ? m_hasMore : false; } else { // there are non delimiter characters left, hence we do have more // tokens - return TRUE; + return true; } } @@ -181,7 +181,7 @@ wxString wxStringTokenizer::GetNextToken() // no more tokens in this string, even in wxTOKEN_RET_EMPTY_ALL // mode (we will return the trailing one right now in this case) - m_hasMore = FALSE; + m_hasMore = false; } else {