~ob/slock

e5216380276932d7cd5576bac0ee9255b58d2e17 — arg@mig29 14 years ago 227cc94
fixed sizeof stuff
1 files changed, 1 insertions(+), 1 deletions(-)

M slock.c
M slock.c => slock.c +1 -1
@@ 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))