projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update use of error_connection under WIN32 to _xcb_conn_ret_error()
[free-sw/xcb/libxcb]
/
src
/
xcb_util.c
diff --git
a/src/xcb_util.c
b/src/xcb_util.c
index
9329b81
..
7173db3
100644
(file)
--- a/
src/xcb_util.c
+++ b/
src/xcb_util.c
@@
-430,7
+430,7
@@
xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *displayname,
#ifdef _WIN32
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) {
- c =
(xcb_connection_t *) &error_connection
;
+ c =
_xcb_conn_ret_error(XCB_CONN_ERROR)
;
goto out;
}
#endif