Two silly typos meant this didn't work properly.
Signed-off-by: NeilBrown <neil@brown.name>
time.
When searching backwards and result is just above display, the
result doesn't get shown. Sometimes.
-- [ ] visiting a new file from a 44 popup is weird.
+- [X] visiting a new file from a 44 popup is weird.
- [ ] search in history always finds a new history line. It doesn't
check if new patterns still matches this line.
- [ ] in notmuch cursor should go to query result when changing
return 1;
restart:
list_for_each_entry(old, &p->children, siblings) {
- if (c->z == 0)
+ if (c->z != 0)
/* Ignore */
continue;
if (old == c)
/* This pane is under control... */
continue;
- if (c->damaged & DAMAGED_CLOSED)
+ if (old->damaged & DAMAGED_CLOSED)
continue;
if (ci->num > 0) {
/* Not the pane we just added, so close it */