diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-05-14 16:44:12 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-05-14 16:44:12 +0300 |
commit | d07f018c06e9666996af5813567ccf9540295c7b (patch) | |
tree | 26e5650e82e620bdada7097f238643c030de94c5 /src/composite.c | |
parent | c38762fdfb8d81e87f061abe528141f374300b92 (diff) | |
download | emacs-d07f018c06e9666996af5813567ccf9540295c7b.tar.gz |
Fix comments from 2010-05-14T04:14:23Z!handa@etlken.
Diffstat (limited to 'src/composite.c')
-rw-r--r-- | src/composite.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/composite.c b/src/composite.c index cbfb4aa66d3..f392053bac9 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1150,13 +1150,13 @@ composition_compute_stop_pos (cmp_it, charpos, bytepos, endpos, string) /* 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 @@ composition_compute_stop_pos (cmp_it, charpos, bytepos, endpos, string) 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)) |