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:
@@ -805,7 +805,7 @@ widgetIsIconified(
|
|||||||
if (XtWindow(w) != 0) { /* only check if window exists! */
|
if (XtWindow(w) != 0) { /* only check if window exists! */
|
||||||
XGetWindowProperty(XtDisplay(w), XtWindow(w), wm_state, 0L, 2L,
|
XGetWindowProperty(XtDisplay(w), XtWindow(w), wm_state, 0L, 2L,
|
||||||
False, AnyPropertyType, &act_type, &act_fmt, &nitems_ret,
|
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) {
|
if (nitems_ret == 2 && property[0] == IconicState) {
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
@@ -119,7 +119,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Returns empty string if it is NULL. */
|
/* 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
|
#ifdef FEAT_LANGMAP
|
||||||
/*
|
/*
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1416,
|
||||||
/**/
|
/**/
|
||||||
1415,
|
1415,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user