diff options
author | arg@mig29 <unknown> | 2006-11-26 15:50:18 +0100 |
---|---|---|
committer | arg@mig29 <unknown> | 2006-11-26 15:50:18 +0100 |
commit | e5216380276932d7cd5576bac0ee9255b58d2e17 (patch) | |
tree | bc754c52277e075c072e1ba80853bdf60bff7753 | |
parent | Added tag 0.3 for changeset f9157b1864388ad8f1920e5fde7c5849e73d8327 (diff) | |
download | slock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.gz slock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.bz2 slock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.xz slock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.zst slock-e5216380276932d7cd5576bac0ee9255b58d2e17.zip |
fixed sizeof stuff
-rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ main(int argc, char **argv) { while(running && !XNextEvent(dpy, &ev)) if(ev.type == KeyPress) { buf[0] = 0; - num = XLookupString(&ev.xkey, buf, sizeof(buf), &ksym, 0); + num = XLookupString(&ev.xkey, buf, sizeof buf, &ksym, 0); if(IsFunctionKey(ksym) || IsKeypadKey(ksym) || IsMiscFunctionKey(ksym) || IsPFKey(ksym) || IsPrivateKeypadKey(ksym)) |