]> granicus.if.org Git - vim/commitdiff
patch 7.4.1416 v7.4.1416
authorBram Moolenaar <Bram@vim.org>
Thu, 25 Feb 2016 14:25:03 +0000 (15:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 25 Feb 2016 14:25:03 +0000 (15:25 +0100)
Problem:    Using "u_char" intead of "char_u", which doesn't work everywhere.
            (Jörg Plate)
Solution:   Use "char_u" always.

src/integration.c
src/macros.h
src/version.c

index 5879a0b2290679806ccaae6005a77485aa0ad115..87380c8e1d265f3063d628b75e010187f5b48b51 100644 (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;
                }
index ffc29f062e27d72915f1b8a0a53431e63b085a49..6e2c94ff15e979603c968d7ed33722c2e7b1ac99 100644 (file)
 #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
 /*
index 12ce7cbf594a24dd8a82dae6aa75a3c18e07cecf..f08bf1b2aaecebc020486e11da4c13cbaf6de12a 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1416,
 /**/
     1415,
 /**/