diff options
| -rw-r--r-- | xspy.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -130,9 +130,8 @@ char *KeyCodeToStr(int code, int down) { strncpy(buf, str, KEYSYM_STRLEN); buf[KEYSYM_STRLEN]=0; /* still a string, so put it in form (+str) or (-str) */ - if (down) strcpy(buf, "(+"); - else strcpy(buf, "(-"); + if (down) strcpy(buf, "+ "); + else strcpy(buf, "- "); strcat(buf, str); - strcat(buf, ")"); return buf; } |
