]> git.eshelyaron.com Git - emacs.git/commitdiff
Restore mistakenly reverted code from 2010-04-17T12:33:05Z!eliz@gnu.org merged in...
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Jul 2010 16:48:34 +0000 (19:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Jul 2010 16:48:34 +0000 (19:48 +0300)
 fringe.c (update_window_fringes): For R2L rows, swap the bitmaps
 of continuation indicators on the fringes.

src/ChangeLog
src/fringe.c

index 5119a048c2ff20c4daa496a4bc564b5b56e5085d..4f6990ba2c81942a17e7b84e237e8663fecb01bd 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * fringe.c (update_window_fringes): Restore mistakenly reverted
+       code from 2010-04-17T12:33:05Z!eliz@gnu.org merged in 2010-04-20T13:31:28Z!eliz@gnu.org.
+
 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (xm_scroll_callback, x_process_timeouts): K&R => prototype.
index 399779009dcb07425d4d832c9ff92f70b22b9fd2..cab3c6feabc01697256c63c2da6408439e658b65 100644 (file)
@@ -1196,7 +1196,8 @@ update_window_fringes (struct window *w, int keep_current_p)
          if (bot_ind_max_y >= 0)
            left_offset = bot_ind_max_y - (row->y + row->visible_height);
        }
-      else if (MATRIX_ROW_CONTINUATION_LINE_P (row))
+      else if ((!row->reversed_p && MATRIX_ROW_CONTINUATION_LINE_P (row))
+              || (row->reversed_p && row->continued_p))
        left = LEFT_FRINGE (4, Qcontinuation, 0);
       else if (row->indicate_empty_line_p && EQ (empty_pos, Qleft))
        left = LEFT_FRINGE (5, Qempty_line, 0);
@@ -1240,7 +1241,8 @@ update_window_fringes (struct window *w, int keep_current_p)
          if (bot_ind_max_y >= 0)
            right_offset = bot_ind_max_y - (row->y + row->visible_height);
        }
-      else if (row->continued_p)
+      else if ((!row->reversed_p && row->continued_p)
+              || (row->reversed_p && MATRIX_ROW_CONTINUATION_LINE_P (row)))
        right = RIGHT_FRINGE (4, Qcontinuation, 0);
       else if (row->indicate_top_line_p && EQ (arrow_top, Qright))
        {