Mercurial > emacs
diff src/composite.c @ 108570:dce075eda1bf
Fix comments from revno 100276.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 14 May 2010 16:44:12 +0300 |
parents | 03ab6621f67d |
children | 0bb727f1d547 |
line wrap: on
line diff
--- a/src/composite.c Fri May 14 15:31:36 2010 +0200 +++ b/src/composite.c Fri May 14 16:44:12 2010 +0300 @@ -1150,13 +1150,13 @@ /* Search backward for a pattern that may be composed and the position of (possibly) the last character of the match is closest to (but not after) START. The reason for the last - character is that set_iterator_to_next works in reverse order - and, thus we must stop at the last character for composition + character is that set_iterator_to_next works in reverse order, + and thus we must stop at the last character for composition check. */ unsigned char *p; int len; - /* limit byte position used in fast_looking_at. This is the - byte position of the next character of START. */ + /* Limit byte position used in fast_looking_at. This is the + byte position of the character after START. */ EMACS_INT limit; if (NILP (string)) @@ -1191,7 +1191,7 @@ len = 1; if (len > 0) { - /* Make CPOS points the last character of match. + /* Make CPOS point to the last character of match. Note that LEN is byte-length. */ bpos += len; if (NILP (string))