[hackers] [PATCH 2/2] strings: treat Runeerror as nonprintable

2021-11-21 Thread Brad Barden
bytes which aren't valid runes are not part of a sequence of printable characters and shouldn't be skipped over. --- strings.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/strings.c b/strings.c index da25f9f..930d4cc 100644 --- a/strings.c +++ b/strings.c @@ -20,9 +20,7

[hackers] [PATCH 1/2] strings: fix printed offset

2021-11-21 Thread Brad Barden
capture the offset at the start of a string and use that for printing. previous code was incorrect for a string with any multibyte runes in its first min-length characters. --- strings.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/strings.c b/strings.c index

Re: [hackers] [dwm][patch] uselessgap fix

2021-11-21 Thread Hiltjo Posthuma
This doesn't below here, but on the wiki. You can push it yourself to the wiki repository as described on the wiki page. On Sun, Nov 21, 2021 at 11:42:05AM +0100, thim wrote: > The inner gap between the master and slave stack is currently double of > whatever the gappx variable is. This should

[hackers] [dwm][patch] uselessgap fix

2021-11-21 Thread thim
The inner gap between the master and slave stack is currently double of whatever the gappx variable is. This should be fixed with this patch. OK? PS: I sent this patch the other day via git send-mail but I'm not sure if it actually sent it, if so ignore this email. >From