aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2014-10-20 09:00:35 -0700
committerPaul Eggert2014-10-20 09:00:35 -0700
commit57fe1632f0dc40042dfb6593f81f451165987637 (patch)
treeac3cd9d1a674256377219ad3d3df9461b25eb33a /src
parentd4107b0a807d4ebf33b6807c0b835bb725a79478 (diff)
downloademacs-57fe1632f0dc40042dfb6593f81f451165987637.tar.gz
emacs-57fe1632f0dc40042dfb6593f81f451165987637.zip
Spelling and grammar fixes in comments.
Diffstat (limited to 'src')
-rw-r--r--src/bidi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bidi.c b/src/bidi.c
index 59fade3f785..d354aa796ae 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -801,7 +801,7 @@ bidi_cache_iterator_state (struct bidi_it *bidi_it, bool resolved,
801/* Look for a cached iterator state that corresponds to CHARPOS. If 801/* Look for a cached iterator state that corresponds to CHARPOS. If
802 found, copy the cached state into BIDI_IT and return the type of 802 found, copy the cached state into BIDI_IT and return the type of
803 the cached entry. If not found, return UNKNOWN_BT. RESOLVED_ONLY 803 the cached entry. If not found, return UNKNOWN_BT. RESOLVED_ONLY
804 zero means it is OK to return cached states tyhat were not fully 804 zero means it is OK to return cached states that were not fully
805 resolved yet. This can happen if the state was cached before it 805 resolved yet. This can happen if the state was cached before it
806 was resolved in bidi_resolve_neutral. */ 806 was resolved in bidi_resolve_neutral. */
807static bidi_type_t 807static bidi_type_t
@@ -1799,9 +1799,9 @@ bidi_resolve_explicit (struct bidi_it *bidi_it)
1799 } 1799 }
1800 eassert (bidi_it->bytepos == CHAR_TO_BYTE (bidi_it->charpos)); 1800 eassert (bidi_it->bytepos == CHAR_TO_BYTE (bidi_it->charpos));
1801 } 1801 }
1802 /* Determine the orginal bidi type of the previous character, 1802 /* Determine the original bidi type of the previous character,
1803 which is needed for handling isolate initiators and PDF. The 1803 which is needed for handling isolate initiators and PDF. The
1804 type of the previous character will only be non-trivial if 1804 type of the previous character will be non-trivial only if
1805 our caller moved through some previous text in 1805 our caller moved through some previous text in
1806 get_visually_first_element, in which case bidi_it->prev holds 1806 get_visually_first_element, in which case bidi_it->prev holds
1807 the information we want. */ 1807 the information we want. */