diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 936ec6a3a1f..f0e4fa62175 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | position past the first glyph_row that ends at ZV. (Bug#10902) | 4 | position past the first glyph_row that ends at ZV. (Bug#10902) |
| 5 | (redisplay_window, next_element_from_string): Fix typos in | 5 | (redisplay_window, next_element_from_string): Fix typos in |
| 6 | comments. | 6 | comments. |
| 7 | (redisplay_window): Pass to move_it_vertically the margin in | ||
| 8 | pixels, not in screen lines. | ||
| 7 | 9 | ||
| 8 | 2012-03-02 Glenn Morris <rgm@gnu.org> | 10 | 2012-03-02 Glenn Morris <rgm@gnu.org> |
| 9 | 11 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index 810a75fec5d..62d0d187a19 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -15611,7 +15611,7 @@ redisplay_window (Lisp_Object window, int just_this_one_p) | |||
| 15611 | 15611 | ||
| 15612 | SAVE_IT (it1, it, it1data); | 15612 | SAVE_IT (it1, it, it1data); |
| 15613 | start_display (&it1, w, startp); | 15613 | start_display (&it1, w, startp); |
| 15614 | move_it_vertically (&it1, margin); | 15614 | move_it_vertically (&it1, margin * FRAME_LINE_HEIGHT (f)); |
| 15615 | margin_pos = IT_CHARPOS (it1); | 15615 | margin_pos = IT_CHARPOS (it1); |
| 15616 | RESTORE_IT (&it, &it, it1data); | 15616 | RESTORE_IT (&it, &it, it1data); |
| 15617 | } | 15617 | } |