From efc8f57aba4f1ef559b03746f277f60922638d1c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 6 Dec 2000 11:29:37 +0000 Subject: [PATCH] (move_it_by_lines): Fix paren typo. --- src/ChangeLog | 2 ++ src/xdisp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 38b12414b86..1d6b3cec057 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2000-12-06 Gerd Moellmann + * xdisp.c (move_it_by_lines): Fix paren typo. + * xterm.c (x_load_font): Don't use the font's max_bounds for computing the height of the font. If max_bounds' ascent or descent are greater than the font's ascent or descent, this means diff --git a/src/xdisp.c b/src/xdisp.c index 41b234dbf9e..0e761ada607 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5075,7 +5075,7 @@ move_it_by_lines (it, dvpos, need_y_p) { int shortage = 0, charpos; - if (FETCH_BYTE (IT_BYTEPOS (*it) == '\n')) + if (FETCH_BYTE (IT_BYTEPOS (*it)) == '\n') charpos = IT_CHARPOS (*it) + 1; else charpos = scan_buffer ('\n', IT_CHARPOS (*it), 0, dvpos, -- 2.39.5