diff options
| author | Eli Zaretskii | 2010-01-30 10:20:14 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-01-30 10:20:14 -0500 |
| commit | cc2d79728f517ab4b437539826a331181102c60d (patch) | |
| tree | e73bfd6dcd69040d1e7b3bd60937e7e27c5e6b1c /src | |
| parent | 0a762a3a21b8d1053751968200331e1a87e2ad22 (diff) | |
| download | emacs-cc2d79728f517ab4b437539826a331181102c60d.tar.gz emacs-cc2d79728f517ab4b437539826a331181102c60d.zip | |
Fix fallout from changes to managing glyph row reversed_p flag.
xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p flag.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.bidi | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog.bidi b/src/ChangeLog.bidi index 470e5a5de01..bb0823c4edb 100644 --- a/src/ChangeLog.bidi +++ b/src/ChangeLog.bidi | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-01-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Fix fallout from changes to managing glyph row reversed_p flag. | ||
| 4 | * xdisp.c (init_iterator): Initialize it->glyph_row->reversed_p | ||
| 5 | flag. | ||
| 6 | |||
| 1 | 2010-01-25 Eli Zaretskii <eliz@gnu.org> | 7 | 2010-01-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | Clean up the mess with setting the glyph row reversed_p flag. | 9 | Clean up the mess with setting the glyph row reversed_p flag. |
diff --git a/src/xdisp.c b/src/xdisp.c index 703676127fa..e9fd8d0af4d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2749,6 +2749,10 @@ init_iterator (it, w, charpos, bytepos, row, base_face_id) | |||
| 2749 | it->glyph_row = row; | 2749 | it->glyph_row = row; |
| 2750 | it->area = TEXT_AREA; | 2750 | it->area = TEXT_AREA; |
| 2751 | 2751 | ||
| 2752 | /* Forget any previous info about this row being reversed. */ | ||
| 2753 | if (it->glyph_row) | ||
| 2754 | it->glyph_row->reversed_p = 0; | ||
| 2755 | |||
| 2752 | /* Get the dimensions of the display area. The display area | 2756 | /* Get the dimensions of the display area. The display area |
| 2753 | consists of the visible window area plus a horizontally scrolled | 2757 | consists of the visible window area plus a horizontally scrolled |
| 2754 | part to the left of the window. All x-values are relative to the | 2758 | part to the left of the window. All x-values are relative to the |