Fixes issue #242

This commit is contained in:
Juan Pablo Aroztegi 2011-09-17 23:37:16 +02:00
parent 708db8d88c
commit 594b9f508d
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ view_detach(Frame *f) {
event("ViewDetach %s %#C\n", v->name, c);
view_update(v);
if(view != selview && empty_p(v))
if(v != selview && empty_p(v))
view_destroy(v);
}