i3-input: Bugfix: font must be dynamically allocated, we FREE it later

next
Michael Stapelberg 2011-10-23 19:34:21 +01:00
parent 7d487b0314
commit 7c04e23ab7
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ static int handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press
int main(int argc, char *argv[]) {
format = strdup("%s");
socket_path = getenv("I3SOCK");
char *pattern = "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1";
char *pattern = sstrdup("-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1");
int o, option_index = 0;
static struct option long_options[] = {