Douglas B. Rumbaugh
Blog
Publications
Conferences
Vitae
Links
Git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-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)