diff options
author | oga <oga> | 2008-09-22 14:15:03 +0000 |
---|---|---|
committer | oga <oga> | 2008-09-22 14:15:03 +0000 |
commit | 61601991b5151be7500cf7581b303b7f12ddb905 (patch) | |
tree | e5947cccefbe32d49130a7a8c80c7d808853988b /search.c | |
parent | a0082c58a4a95d05f452cfa3da7eaf4e1eb17dba (diff) | |
download | cwm-61601991b5151be7500cf7581b303b7f12ddb905.tar.gz cwm-61601991b5151be7500cf7581b303b7f12ddb905.tar.xz cwm-61601991b5151be7500cf7581b303b7f12ddb905.zip |
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!
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c index 24730c5..8c0072a 100644 --- a/search.c +++ b/search.c @@ -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); |