]> git.eshelyaron.com Git - emacs.git/commitdiff
Spelling and grammar fixes in comments.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Oct 2014 16:00:35 +0000 (09:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Oct 2014 16:00:35 +0000 (09:00 -0700)
src/bidi.c

index 59fade3f78503d4dc260cb109806e68c7d8dc019..d354aa796ae3175de7128a7db163d53d30e04627 100644 (file)
@@ -801,7 +801,7 @@ bidi_cache_iterator_state (struct bidi_it *bidi_it, bool resolved,
 /* Look for a cached iterator state that corresponds to CHARPOS.  If
    found, copy the cached state into BIDI_IT and return the type of
    the cached entry.  If not found, return UNKNOWN_BT.  RESOLVED_ONLY
-   zero means it is OK to return cached states tyhat were not fully
+   zero means it is OK to return cached states that were not fully
    resolved yet.  This can happen if the state was cached before it
    was resolved in bidi_resolve_neutral.  */
 static bidi_type_t
@@ -1799,9 +1799,9 @@ bidi_resolve_explicit (struct bidi_it *bidi_it)
            }
          eassert (bidi_it->bytepos == CHAR_TO_BYTE (bidi_it->charpos));
        }
-      /* Determine the orginal bidi type of the previous character,
+      /* Determine the original bidi type of the previous character,
         which is needed for handling isolate initiators and PDF.  The
-        type of the previous character will only be non-trivial if
+        type of the previous character will be non-trivial only if
         our caller moved through some previous text in
         get_visually_first_element, in which case bidi_it->prev holds
         the information we want.  */