From 561f9db88cf4e69f27fcca1b02e78e7b72294acc Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 20 Feb 2008 13:16:29 +0000 Subject: [PATCH] updated for version 7.1-259 --- src/screen.c | 6 +++++- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/screen.c b/src/screen.c index 219b66431..a73992725 100644 --- a/src/screen.c +++ b/src/screen.c @@ -8045,9 +8045,13 @@ setcursor() windgoto(W_WINROW(curwin) + curwin->w_wrow, W_WINCOL(curwin) + ( #ifdef FEAT_RIGHTLEFT + /* With 'rightleft' set and the cursor on a double-wide + * character, position it on the leftmost column. */ curwin->w_p_rl ? ((int)W_WIDTH(curwin) - curwin->w_wcol - ( # ifdef FEAT_MBYTE - has_mbyte ? (*mb_ptr2cells)(ml_get_cursor()) : + (has_mbyte + && (*mb_ptr2cells)(ml_get_cursor()) == 2 + && vim_isprintc(gchar_cursor())) ? 2 : # endif 1)) : #endif diff --git a/src/version.c b/src/version.c index 21701b794..459c90e5f 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 259, /**/ 258, /**/ -- 2.50.1