Introduction
Introduction Statistics Contact Development Disclaimer Help
fix bug in unmanage: check if lastsel is initialized - tabbed - tab interface f…
git clone git://git.suckless.org/tabbed
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:
M tabbed.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)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.