summaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-26 15:50:18 +0100
committerarg@mig29 <unknown>2006-11-26 15:50:18 +0100
commite5216380276932d7cd5576bac0ee9255b58d2e17 (patch)
treebc754c52277e075c072e1ba80853bdf60bff7753 /slock.c
parent227cc94733466b82fc2d402784b74cf63d8c96c7 (diff)
downloadslock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.gz
slock-e5216380276932d7cd5576bac0ee9255b58d2e17.tar.xz
fixed sizeof stuff
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 62fcac9..aafc7c0 100644
--- a/slock.c
+++ b/slock.c
@@ -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))