Patch 8.0.0353
Problem:    If [RO] in the status line is translated to a longer string, it is
            trunctted to 4 bytes.
Solution:   Skip over the resulting string. (Jente Hidskes, closes #1499)
Files:      src/screen.c


*** ../vim-8.0.0352/src/screen.c        2017-02-01 21:23:05.555250993 +0100
--- src/screen.c        2017-02-23 14:50:01.420901310 +0100
***************
*** 6730,6736 ****
        if (wp->w_buffer->b_p_ro)
        {
            STRCPY(p + len, _("[RO]"));
!           len += 4;
        }
  
        this_ru_col = ru_col - (Columns - W_WIDTH(wp));
--- 6730,6736 ----
        if (wp->w_buffer->b_p_ro)
        {
            STRCPY(p + len, _("[RO]"));
!           len += (int)STRLEN(p + len);
        }
  
        this_ru_col = ru_col - (Columns - W_WIDTH(wp));
*** ../vim-8.0.0352/src/version.c       2017-02-23 14:25:13.210370073 +0100
--- src/version.c       2017-02-23 14:51:38.488282132 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     353,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
5. You find yourself brainstorming for new subjects to search.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui