sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit 56362c66ac4e70676fc59e572e908895205482f7
parent ed8c8806e2b212cfb1368fd9451a94580301fece
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Wed,  9 Jan 2013 13:49:32 +0100

Fix infinite loop regression in unfold_hotkeys

Diffstat:
Mkeys.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/keys.c b/keys.c @@ -2620,7 +2620,7 @@ void unfold_hotkeys(char *folded_hotkey, char *folded_command) generate_hotkeys(keysym, button, modfield, event_type, unfolded_command); #define POSTGEN(elt, ra, rz, ptr) \ - if (ra > rz) \ + if (ra >= rz) \ elt = strtok_r(NULL, SEQ_SEP, &ptr), ra = 1, rz = 0; \ else \ ra++;