diff options
author | 2015-03-10 11:29:43 +0100 | |
---|---|---|
committer | 2015-03-10 21:23:27 +0100 | |
commit | 0728caee306423cd1dc139e000828329c9285ab7 (patch) | |
tree | 929363ea5b4ed0299ee781f5221714fcb6ac28b3 | |
parent | c2ce9be47170115a7fa301cc6e93da63847fb860 (diff) | |
download | tabbed-0728caee306423cd1dc139e000828329c9285ab7.tar.gz |
-rw-r--r-- | tabbed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tabbed.c b/tabbed.c index d24b299..b15f9cb 100644 --- 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) |