aboutsummaryrefslogtreecommitdiff
path: root/libxcb/man/xcb-requests.man
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/man/xcb-requests.man')
-rw-r--r--libxcb/man/xcb-requests.man6
1 files changed, 3 insertions, 3 deletions
diff --git a/libxcb/man/xcb-requests.man b/libxcb/man/xcb-requests.man
index 8d4a1dc5f..6b11883e6 100644
--- a/libxcb/man/xcb-requests.man
+++ b/libxcb/man/xcb-requests.man
@@ -36,7 +36,7 @@ void my_example(xcb_connection *conn) {
cookie = xcb_intern_atom(conn, 0, strlen("_NET_WM_NAME"), "_NET_WM_NAME");
/* ... do other work here if possible ... */
if ((reply = xcb_intern_atom_reply(conn, cookie, NULL))) {
- printf("The _NET_WM_NAME atom has ID %u\n", reply->atom);
+ printf("The _NET_WM_NAME atom has ID %u\\n", reply->atom);
}
free(reply);
}
@@ -118,7 +118,7 @@ void my_example(xcb_connection *conn, xcb_window_t window) {
cookie = xcb_intern_atom(c, 0, strlen("_NET_WM_NAME"), "_NET_WM_NAME");
/* ... do other work here if possible ... */
if ((reply = xcb_intern_atom_reply(c, cookie, &error))) {
- printf("The _NET_WM_NAME atom has ID %u\n", reply->atom);
+ printf("The _NET_WM_NAME atom has ID %u\\n", reply->atom);
free(reply);
} else {
fprintf(stderr, "X11 Error %d\\n", error->error_code);
@@ -138,7 +138,7 @@ void my_example(xcb_connection *conn, xcb_window_t window) {
"_NET_WM_NAME");
/* ... do other work here if possible ... */
if ((reply = xcb_intern_atom_reply(c, cookie, NULL))) {
- printf("The _NET_WM_NAME atom has ID %u\n", reply->atom);
+ printf("The _NET_WM_NAME atom has ID %u\\n", reply->atom);
free(reply);
}