patch 8.0.0353: if [RO] is translated it may be truncated
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)
diff --git a/src/screen.c b/src/screen.c
index 18ae8b9..d801c4c 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -6730,7 +6730,7 @@
if (wp->w_buffer->b_p_ro)
{
STRCPY(p + len, _("[RO]"));
- len += 4;
+ len += (int)STRLEN(p + len);
}
this_ru_col = ru_col - (Columns - W_WIDTH(wp));
diff --git a/src/version.c b/src/version.c
index 021704a..da1ca4b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 353,
+/**/
352,
/**/
351,