diff options
-rw-r--r-- | xev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -225,7 +225,7 @@ do_EnterNotify (XEvent *eventp) case NotifyGrab: mode = "NotifyGrab"; break; case NotifyUngrab: mode = "NotifyUngrab"; break; case NotifyWhileGrabbed: mode = "NotifyWhileGrabbed"; break; - default: mode = dmode, sprintf (dmode, "%u", e->mode); break; + default: mode = dmode; sprintf (dmode, "%u", e->mode); break; } switch (e->detail) { @@ -265,7 +265,7 @@ do_FocusIn (XEvent *eventp) case NotifyGrab: mode = "NotifyGrab"; break; case NotifyUngrab: mode = "NotifyUngrab"; break; case NotifyWhileGrabbed: mode = "NotifyWhileGrabbed"; break; - default: mode = dmode, sprintf (dmode, "%u", e->mode); break; + default: mode = dmode; sprintf (dmode, "%u", e->mode); break; } switch (e->detail) { |