diff --git a/core/textpage.cpp b/core/textpage.cpp index e01c68a89..b4b923a1d 100644 --- a/core/textpage.cpp +++ b/core/textpage.cpp @@ -181,7 +181,7 @@ RegularAreaRect * TextPage::textArea ( TextSelection * sel) const int itB = -1; int itE = -1; - // ending cursor is higher then start cursor, we need to find positions in reverse + // ending cursor is higher than start cursor, we need to find positions in reverse NormalizedRect tmp; NormalizedRect start; NormalizedRect end; @@ -418,7 +418,7 @@ RegularAreaRect* TextPagePrivate::findTextInternalForward( int searchID, const Q #ifdef DEBUG_TEXTPAGE kDebug(OkularDebug) << str.mid(offset,min) << ":" << _query.mid(j,min); #endif - // we have equal (or less then) area of the query left as the lengt of the current + // we have equal (or less than) area of the query left as the length of the current // entity if ((caseSensitivity == Qt::CaseSensitive) @@ -544,7 +544,7 @@ RegularAreaRect* TextPagePrivate::findTextInternalBackward( int searchID, const #ifdef DEBUG_TEXTPAGE kDebug(OkularDebug) << str.right(min) << " : " << _query.mid(j-min+1,min); #endif - // we have equal (or less then) area of the query left as the lengt of the current + // we have equal (or less than) area of the query left as the length of the current // entity if ((caseSensitivity == Qt::CaseSensitive) diff --git a/generators/comicbook/qnatsort.h b/generators/comicbook/qnatsort.h index a802fef5c..eb63c79ac 100644 --- a/generators/comicbook/qnatsort.h +++ b/generators/comicbook/qnatsort.h @@ -40,13 +40,13 @@ */ /** - * Returns whether the @p left string is lesser then the @p right string + * Returns whether the @p left string is lesser than the @p right string * in natural order. */ bool caseSensitiveNaturalOrderLessThen( const QString &left, const QString &right ); /** - * Returns whether the @p left string is lesser then the @p right string + * Returns whether the @p left string is lesser than the @p right string * in natural order and case insensitive. */ bool caseInsensitiveNaturalOrderLessThen( const QString &left, const QString &right );