pinosaur
/
slock.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
227cc94
)
fixed sizeof stuff
author
arg@mig29
<unknown>
Sun, 26 Nov 2006 14:50:18 +0000
(15:50 +0100)
committer
arg@mig29
<unknown>
Sun, 26 Nov 2006 14:50:18 +0000
(15:50 +0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index
62fcac9
..
aafc7c0
100644
(file)
--- 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))