0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 7.4.1416

Problem:    Using "u_char" intead of "char_u", which doesn't work everywhere.
            (Jörg Plate)
Solution:   Use "char_u" always.
This commit is contained in:
Bram Moolenaar
2016-02-25 15:25:03 +01:00
parent f391327adb
commit 669cac0a80
3 changed files with 4 additions and 2 deletions

View File

@@ -805,7 +805,7 @@ widgetIsIconified(
if (XtWindow(w) != 0) { /* only check if window exists! */
XGetWindowProperty(XtDisplay(w), XtWindow(w), wm_state, 0L, 2L,
False, AnyPropertyType, &act_type, &act_fmt, &nitems_ret,
&bytes_after, (u_char **) &property);
&bytes_after, (char_u **) &property);
if (nitems_ret == 2 && property[0] == IconicState) {
return True;
}

View File

@@ -119,7 +119,7 @@
#endif
/* Returns empty string if it is NULL. */
#define EMPTY_IF_NULL(x) ((x) ? (x) : (u_char *)"")
#define EMPTY_IF_NULL(x) ((x) ? (x) : (char_u *)"")
#ifdef FEAT_LANGMAP
/*

View File

@@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1416,
/**/
1415,
/**/