initial import
This commit is contained in:
11
slock/backspace.patch
Normal file
11
slock/backspace.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/slock.c
|
||||
+++ b/slock.c
|
||||
@@ -177,7 +177,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
|
||||
break;
|
||||
case XK_BackSpace:
|
||||
if (len)
|
||||
- passwd[len--] = '\0';
|
||||
+ passwd[--len] = '\0';
|
||||
break;
|
||||
default:
|
||||
if (num && !iscntrl((int)buf[0]) &&
|
||||
Reference in New Issue
Block a user