Fixes a few spelling errors in the comments.
Index: okular/core/textpage.cpp
===================================================================
--- okular/core/textpage.cpp	(revision 1109126)
+++ okular/core/textpage.cpp	(working copy)
@@ -483,7 +483,7 @@
                     // move the current position in the query
                     // to the position after the length of this string
                     // we matched
-                    // substract the length of the current entity from 
+                    // subtract the length of the current entity from 
                     // the left length of the query
 #ifdef DEBUG_TEXTPAGE
             kDebug(OkularDebug) << "\tmatched";
@@ -609,7 +609,7 @@
                     // move the current position in the query
                     // to the position after the length of this string
                     // we matched
-                    // substract the length of the current entity from 
+                    // subtract the length of the current entity from 
                     // the left length of the query
 #ifdef DEBUG_TEXTPAGE
                     kDebug(OkularDebug) << "\tmatched";
Index: okular/core/document.cpp
===================================================================
--- okular/core/document.cpp	(revision 1109126)
+++ okular/core/document.cpp	(working copy)
@@ -2589,7 +2589,7 @@
     d->m_lastSearchID = searchID;
     RunningSearch * s = *searchIt;
 
-    // update search stucture
+    // update search structure
     bool newText = text != s->cachedString;
     s->cachedString = text;
     s->cachedType = type;
Index: okular/generators/fictionbook/converter.cpp
===================================================================
--- okular/generators/fictionbook/converter.cpp	(revision 1109126)
+++ okular/generators/fictionbook/converter.cpp	(working copy)
@@ -173,7 +173,7 @@
     }
 
     /**
-     * Add document infos.
+     * Add document info.
      */
     if ( mTitleInfo ) {
         if ( !mTitleInfo->mTitle.isEmpty() )
Index: okular/ui/presentationwidget.cpp
===================================================================
--- okular/ui/presentationwidget.cpp	(revision 1109126)
+++ okular/ui/presentationwidget.cpp	(working copy)
@@ -1448,7 +1448,7 @@
         // Or hide the cursor again if hidden cursor is enabled
         else if ( Okular::Settings::slidesCursor() == Okular::Settings::EnumSlidesCursor::Hidden )
         {
-            // Dont hide the cursor if drawing mode is on
+            // Don't hide the cursor if drawing mode is on
             if ( !m_drawingEngine )
             {
                 setCursor( QCursor( Qt::BlankCursor ) );
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to