Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed sizeof stuff - slock - simple X display locker utility
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit e5216380276932d7cd5576bac0ee9255b58d2e17
parent 227cc94733466b82fc2d402784b74cf63d8c96c7
Author: arg@mig29 <unknown>
Date: Sun, 26 Nov 2006 15:50:18 +0100
fixed sizeof stuff
Diffstat:
M slock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git 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,…
+ num = XLookupString(&ev.xkey, buf, sizeof buf, &ksym, …
if(IsFunctionKey(ksym) || IsKeypadKey(ksym)
|| IsMiscFunctionKey(ksym) || IsPFKey(…
|| IsPrivateKeypadKey(ksym))
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.