Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b4b2c2ca
Commit
b4b2c2ca
authored
Apr 08, 2009
by
YAMAMOTO Mitsuharu
Browse files
(redraw_overlapping_rows): Fix detection of
overlapping for topmost and bottommost rows.
parent
157bca46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/ChangeLog
src/ChangeLog
+3
-0
src/dispnew.c
src/dispnew.c
+3
-3
No files found.
src/ChangeLog
View file @
b4b2c2ca
2009-04-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* dispnew.c (redraw_overlapping_rows): Fix detection of
overlapping for topmost and bottommost rows.
* ftfont.c (ftfont_text_extents): Fix calculation of
metrics->descent.
...
...
src/dispnew.c
View file @
b4b2c2ca
...
...
@@ -4129,14 +4129,14 @@ redraw_overlapping_rows (w, yb)
bottom_y
=
MATRIX_ROW_BOTTOM_Y
(
row
);
if
(
row
->
overlapping_p
&&
i
>
0
&&
bottom_y
<
yb
)
if
(
row
->
overlapping_p
)
{
int
overlaps
=
0
;
if
(
MATRIX_ROW_OVERLAPS_PRED_P
(
row
)
if
(
MATRIX_ROW_OVERLAPS_PRED_P
(
row
)
&&
i
>
0
&&
!
MATRIX_ROW
(
w
->
current_matrix
,
i
-
1
)
->
overlapped_p
)
overlaps
|=
OVERLAPS_PRED
;
if
(
MATRIX_ROW_OVERLAPS_SUCC_P
(
row
)
if
(
MATRIX_ROW_OVERLAPS_SUCC_P
(
row
)
&&
bottom_y
<
yb
&&
!
MATRIX_ROW
(
w
->
current_matrix
,
i
+
1
)
->
overlapped_p
)
overlaps
|=
OVERLAPS_SUCC
;
...
...
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