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 | 227cc94733466b82fc2d402784b74cf63d8c96c7 (diff) | |
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) { | |||
| 102 | while(running && !XNextEvent(dpy, &ev)) | 102 | while(running && !XNextEvent(dpy, &ev)) |
| 103 | if(ev.type == KeyPress) { | 103 | if(ev.type == KeyPress) { |
| 104 | buf[0] = 0; | 104 | buf[0] = 0; |
| 105 | num = XLookupString(&ev.xkey, buf, sizeof(buf), &ksym, 0); | 105 | num = XLookupString(&ev.xkey, buf, sizeof buf, &ksym, 0); |
| 106 | if(IsFunctionKey(ksym) || IsKeypadKey(ksym) | 106 | if(IsFunctionKey(ksym) || IsKeypadKey(ksym) |
| 107 | || IsMiscFunctionKey(ksym) || IsPFKey(ksym) | 107 | || IsMiscFunctionKey(ksym) || IsPFKey(ksym) |
| 108 | || IsPrivateKeypadKey(ksym)) | 108 | || IsPrivateKeypadKey(ksym)) |
