summaryrefslogtreecommitdiff
path: root/src/TMparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TMparse.c')
-rw-r--r--src/TMparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TMparse.c b/src/TMparse.c
index 5beade0..1cb75c5 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -1011,6 +1011,7 @@ ParseKeySym(register String str,
*/
(*str == '(' && *(str + 1) >= '0' && *(str + 1) <= '9')) {
keySymName = keySymNamebuf; /* just so we can stackfree it later */
+ keySymName[0] = '\0';
/* no detail */
event->event.eventCode = 0L;
event->event.eventCodeMask = 0L;