0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0044

This commit is contained in:
Bram Moolenaar
2005-01-25 21:57:23 +00:00
parent 281bdcec60
commit 9d75c83f8f
8 changed files with 33 additions and 14 deletions

View File

@@ -1767,9 +1767,10 @@ set_x11_title(title)
NULL, NULL, 0, NULL, NULL, NULL);
# else
XTextProperty text_prop;
char *c_title = (char *)title;
/* directly from example 3-18 "basicwin" of Xlib Programming Manual */
(void)XStringListToTextProperty((char **)&title, 1, &text_prop);
(void)XStringListToTextProperty(&c_title, 1, &text_prop);
XSetWMProperties(x11_display, x11_window, &text_prop,
NULL, NULL, 0, NULL, NULL, NULL);
# endif
@@ -1803,8 +1804,9 @@ set_x11_icon(icon)
NULL, 0, NULL, NULL, NULL);
# else
XTextProperty text_prop;
char *c_icon = (char *)icon;
(void)XStringListToTextProperty((char **)&icon, 1, &text_prop);
(void)XStringListToTextProperty(&c_icon, 1, &text_prop);
XSetWMProperties(x11_display, x11_window, NULL, &text_prop,
NULL, 0, NULL, NULL, NULL);
# endif
@@ -4001,6 +4003,7 @@ finished:
if (WIFEXITED(status))
{
/* LINTED avoid "bitwise operation on signed value" */
retval = WEXITSTATUS(status);
if (retval && !emsg_silent)
{