Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7379cfce
Commit
7379cfce
authored
Feb 26, 2010
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xdisp.c (reseat_to_string): Fix previous change.
parent
ed20a012
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/xdisp.c
src/xdisp.c
+1
-1
No files found.
src/ChangeLog
View file @
7379cfce
2010-02-26 Kenichi Handa <handa@m17n.org>
* xdisp.c (reseat_to_string): Fix previous change.
2010-02-25 Kenichi Handa <handa@m17n.org>
2010-02-25 Kenichi Handa <handa@m17n.org>
* xdisp.c (reseat_to_string): Fix previous change (bug#5609).
* xdisp.c (reseat_to_string): Fix previous change (bug#5609).
...
...
src/xdisp.c
View file @
7379cfce
...
@@ -5611,7 +5611,7 @@ reseat_to_string (it, s, string, charpos, precision, field_width, multibyte)
...
@@ -5611,7 +5611,7 @@ reseat_to_string (it, s, string, charpos, precision, field_width, multibyte)
it->stop_charpos = charpos;
it->stop_charpos = charpos;
if (s == NULL && it->multibyte_p)
if (s == NULL && it->multibyte_p)
{
{
EMACS_INT endpos =
charpos +
SCHARS (it->string);
EMACS_INT endpos = SCHARS (it->string);
if (endpos > it->end_charpos)
if (endpos > it->end_charpos)
endpos = it->end_charpos;
endpos = it->end_charpos;
composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos,
composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment