From fd2ff3a6eff551913cc3c9b2b3627717cf1e60fe Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 10 Feb 2012 19:55:40 +0000 Subject: [PATCH] Bugfix: insert ending double quote at the right position (Thanks mxf) --- i3bar/src/xcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 655107a2..f75f23de 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -321,7 +321,7 @@ void handle_button(xcb_button_press_event_t *event) { } buffer[outpos] = cur_ws->name[inpos]; } - buffer[++outpos] = '"'; + buffer[outpos] = '"'; i3_send_msg(I3_IPC_MESSAGE_TYPE_COMMAND, buffer); free(buffer); } -- 2.39.5