Bugfix: insert ending double quote at the right position (Thanks mxf)

This commit is contained in:
Michael Stapelberg 2012-02-10 19:55:40 +00:00
parent 82247fd0ab
commit fd2ff3a6ef
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}