Display the current window title not a previous one in the case of

``show all'' in the window search dialogue. Noticed and diff from Tim
van der Molen, thanks!
This commit is contained in:
oga
2008-09-22 14:15:03 +00:00
parent a0082c58a4
commit 61601991b5
8 changed files with 187 additions and 26 deletions

View File

@@ -132,7 +132,7 @@ search_print_client(struct menu *mi, int list)
flag = '&';
if (list)
cc->matchname = TAILQ_FIRST(&cc->nameq)->name;
cc->matchname = cc->name;
snprintf(mi->print, sizeof(mi->print), "%c%s", flag, cc->matchname);