summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_gtk_x11.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index c55d9792b..e107c5e06 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -5605,7 +5605,7 @@ gui_gtk2_draw_string(int row, int col, char_u *s, int len, int flags)
int byte_sum; // byte position in string
char_u *cs; // current *s pointer
int needs_pango; // look ahead, 0=ascii 1=unicode/ligatures
- int should_need_pango;
+ int should_need_pango = FALSE;
int slen;
int is_ligature;
int next_is_ligature;
@@ -5743,6 +5743,7 @@ gui_gtk2_draw_string(int row, int col, char_u *s, int len, int flags)
slen++; // ascii
}
}
+
// temporarily zero terminate substring, print, restore char, wrap
backup_ch = *(cs + slen);
*(cs + slen) = 0;
diff --git a/src/version.c b/src/version.c
index 3b78cc808..3013dfc2c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3527,
+/**/
3526,
/**/
3525,