Patch 8.2.3527
Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
Files: src/gui_gtk_x11.c
*** ../vim-8.2.3526/src/gui_gtk_x11.c 2021-10-16 20:52:01.772842109 +0100
--- src/gui_gtk_x11.c 2021-10-17 11:30:10.326139171 +0100
***************
*** 5605,5611 ****
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 slen;
int is_ligature;
int next_is_ligature;
--- 5605,5611 ----
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 = FALSE;
int slen;
int is_ligature;
int next_is_ligature;
***************
*** 5743,5748 ****
--- 5743,5749 ----
slen++; // ascii
}
}
+
// temporarily zero terminate substring, print, restore char, wrap
backup_ch = *(cs + slen);
*(cs + slen) = 0;
*** ../vim-8.2.3526/src/version.c 2021-10-16 21:58:23.206049605 +0100
--- src/version.c 2021-10-17 11:31:19.466296768 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3527,
/**/
--
If Microsoft would build a car...
... the oil, water temperature, and alternator warning lights would
all be replaced by a single "General Protection Fault" warning light.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211017103744.984ECC80055%40moolenaar.net.