To: [email protected]
Subject: Patch 6.3b.028
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.3b.028
Problem:    When in diff mode, setting 'rightleft' causes a crash. (Eddine)
Solution:   Check for last column differently when 'rightleft' is set.
Files:      src/screen.c


*** ../vim-6.3b.027/src/screen.c        Wed Jun  2 12:13:46 2004
--- src/screen.c        Fri Jun  4 20:35:47 2004
***************
*** 3756,3762 ****
 # ifdef LINE_ATTR
                           line_attr != 0
 # endif
!                       ) && col < W_WIDTH(wp))
               {
                   /* Highlight until the right side of the window */
                   c = ' ';
--- 3756,3766 ----
 # ifdef LINE_ATTR
                           line_attr != 0
 # endif
!                       ) && (
! # ifdef FEAT_RIGHTLEFT
!                           wp->w_p_rl ? (col >= 0) :
! # endif
!                           (col < W_WIDTH(wp))))
               {
                   /* Highlight until the right side of the window */
                   c = ' ';
*** ../vim-6.3b.027/src/version.c       Fri Jun  4 15:45:55 2004
--- src/version.c       Fri Jun  4 20:48:03 2004
***************
*** 643,644 ****
--- 643,646 ----
 {   /* Add new patch number below this line */
+ /**/
+     28,
 /**/

--
I started out with nothing, and I still have most of it.
                               -- Michael Davis -- "Tonight Show"

/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
\\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///