diff options
| author | Kenichi Handa | 2000-06-06 01:12:21 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-06-06 01:12:21 +0000 |
| commit | 10cda9b031e98e68f6fd9364874e775f57e90108 (patch) | |
| tree | 79b115778f14ab41f5483327652a805f5c407e30 /src | |
| parent | 1ac0700a34bcf0b98cf79a4cf42413a378b5e8ad (diff) | |
| download | emacs-10cda9b031e98e68f6fd9364874e775f57e90108.tar.gz emacs-10cda9b031e98e68f6fd9364874e775f57e90108.zip | |
(display_line): While checking line continuation, pay attention to a
padding glyph.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b26fb26f51c..20153803848 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2000-06-06 Kenichi Handa <handa@etl.go.jp> | ||
| 2 | |||
| 3 | * term.c (encode_terminal_code): Change the way to check if | ||
| 4 | terminal coding does any conversion. | ||
| 5 | (append_glyph): Set glyph->pixel_width correctly. | ||
| 6 | |||
| 7 | * xdisp.c (display_line): While checking line continuation, pay | ||
| 8 | attention to a padding glyph. | ||
| 9 | |||
| 1 | 2000-06-05 Gerd Moellmann <gerd@gnu.org> | 10 | 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
| 2 | 11 | ||
| 3 | * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | 12 | * xdisp.c (redisplay_window): Always use set_buffer_internal_1. |
diff --git a/src/xdisp.c b/src/xdisp.c index 6f2c6273115..3920510a5df 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -11319,6 +11319,8 @@ display_line (it) | |||
| 11319 | for (i = 0; i < nglyphs; ++i, x = new_x) | 11319 | for (i = 0; i < nglyphs; ++i, x = new_x) |
| 11320 | { | 11320 | { |
| 11321 | glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; | 11321 | glyph = row->glyphs[TEXT_AREA] + n_glyphs_before + i; |
| 11322 | if (CHAR_GLYPH_PADDING_P (*glyph)) | ||
| 11323 | continue; | ||
| 11322 | new_x = x + glyph->pixel_width; | 11324 | new_x = x + glyph->pixel_width; |
| 11323 | 11325 | ||
| 11324 | if (/* Lines are continued. */ | 11326 | if (/* Lines are continued. */ |