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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user