diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-08-16 11:11:27 +0200 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-08-16 11:11:27 +0200 |
| commit | 3791a996e230aec59d61faea46634ae4f031e359 (patch) | |
| tree | e8e65f9c0de987ef8f2098f87d9b14382be680dc | |
| parent | bf0a5577acbd9ec7c6a577601b97144b205840d7 (diff) | |
| download | slock-3791a996e230aec59d61faea46634ae4f031e359.tar.gz slock-3791a996e230aec59d61faea46634ae4f031e359.tar.xz | |
add a comment for the ctrl-u clear field combo
| -rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,7 +185,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, (len + num < sizeof(passwd))) { memcpy(passwd + len, buf, num); len += num; - } else if (buf[0] == '\025') { + } else if (buf[0] == '\025') { /* ctrl-u clears input */ explicit_bzero(&passwd, sizeof(passwd)); len = 0; } |
