tabbed

Mahdi's build of tabbed
git clone git://mahdi.pw/tabbed.git
Log | Files | Refs | README | LICENSE

commit 0728caee306423cd1dc139e000828329c9285ab7
parent c2ce9be47170115a7fa301cc6e93da63847fb860
Author: Markus Teich <[email protected]>
Date:   Tue, 10 Mar 2015 11:29:43 +0100

fix bug in unmanage: check if lastsel is initialized

Signed-off-by: Christoph Lohmann <[email protected]>

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

diff --git a/tabbed.c b/tabbed.c @@ -1125,7 +1125,7 @@ unmanage(int c) { lastsel--; } - if(c == sel) { + if(c == sel && lastsel >= 0) { focus(lastsel); } else { if(sel > c)