diff options
Diffstat (limited to 'libX11/src/FetchName.c')
-rw-r--r-- | libX11/src/FetchName.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/FetchName.c b/libX11/src/FetchName.c index 16b2f7a38..a04e343f1 100644 --- a/libX11/src/FetchName.c +++ b/libX11/src/FetchName.c @@ -44,7 +44,7 @@ Status XFetchName ( unsigned long nitems; unsigned long leftover; unsigned char *data = NULL; - if (XGetWindowProperty(dpy, w, XA_WM_NAME, 0L, (long)BUFSIZ, False, XA_STRING, + if (XGetWindowProperty(dpy, w, XA_WM_NAME, 0L, (long)BUFSIZ, False, XA_STRING, &actual_type, &actual_format, &nitems, &leftover, &data) != Success) { *name = NULL; @@ -75,7 +75,7 @@ Status XGetIconName ( unsigned long leftover; unsigned char *data = NULL; if (XGetWindowProperty(dpy, w, XA_WM_ICON_NAME, 0L, (long)BUFSIZ, False, - XA_STRING, + XA_STRING, &actual_type, &actual_format, &nitems, &leftover, &data) != Success) { *icon_name = NULL; |