Mercurial > vim
changeset 8247:6ee794dc950e v7.4.1416
commit https://github.com/vim/vim/commit/669cac0a805333e69b9e1176425083914eada659
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 25 15:25:03 2016 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Feb 2016 15:30:05 +0100 |
parents | f16bfe02cef1 |
children | ad8129104e9e |
files | src/integration.c src/macros.h src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/integration.c +++ b/src/integration.c @@ -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; }