diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 68eb453..894b260 100644 --- a/src/input.c +++ b/src/input.c @@ -303,7 +303,6 @@ grab_key (KeySym keysym, unsigned int modifiers, Window grab_window) char * keysym_to_string (KeySym keysym, unsigned int modifier) { - static char *null_string = "NULL"; struct sbuf *name; char *tmp; @@ -320,7 +319,7 @@ keysym_to_string (KeySym keysym, unsigned int modifier) can return NULL. In this case use the "NULL" string. */ tmp = XKeysymToString (keysym); if (tmp == NULL) - tmp = null_string; + tmp = "NULL"; sbuf_concat (name, tmp); |