Commit 96d79611 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix fringe truncation bitmaps in R2L lines.

 fringe.c (update_window_fringes): Set up truncation bitmaps for R2L lines.
parent a4f64981
2010-05-08 Eli Zaretskii <eliz@gnu.org>
* fringe.c (update_window_fringes): Set up truncation bitmaps for
R2L lines.
2010-05-08 Glenn Morris <rgm@gnu.org>
* Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
......
......@@ -1082,7 +1082,8 @@ update_window_fringes (w, keep_current_p)
left = row->left_user_fringe_bitmap;
left_face_id = row->left_user_fringe_face_id;
}
else if (row->truncated_on_left_p)
else if ((!row->reversed_p && row->truncated_on_left_p)
|| (row->reversed_p && row->truncated_on_right_p))
left = LEFT_FRINGE(0, Qtruncation, 0);
else if (row->indicate_bob_p && EQ (boundary_top, Qleft))
left = ((row->indicate_eob_p && EQ (boundary_bot, Qleft))
......@@ -1110,7 +1111,8 @@ update_window_fringes (w, keep_current_p)
right = row->right_user_fringe_bitmap;
right_face_id = row->right_user_fringe_face_id;
}
else if (row->truncated_on_right_p)
else if ((!row->reversed_p && row->truncated_on_right_p)
|| (row->reversed_p && row->truncated_on_left_p))
right = RIGHT_FRINGE (0, Qtruncation, 0);
else if (row->indicate_bob_p && EQ (boundary_top, Qright))
right = ((row->indicate_eob_p && EQ (boundary_bot, Qright))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment