diff options
author | oga | 2008-09-22 14:15:03 +0000 |
---|---|---|
committer | oga | 2008-09-22 14:15:03 +0000 |
commit | 30fdb32a9e9467d23ad79e6602ac5b30e47e21f1 (patch) | |
tree | 8c84be05c3779e1b7d776219dcd1d330f7e5d549 /search.c | |
parent | 0cac11a31570d71936c55c2244a78de34ea4c5a8 (diff) | |
download | cwm-30fdb32a9e9467d23ad79e6602ac5b30e47e21f1.tar.gz |
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 '')
-rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: search.c,v 1.13 2008/09/03 04:39:12 canacar Exp $ + * $Id: search.c,v 1.14 2008/09/22 14:15:03 oga Exp $ */ #include "headers.h" @@ -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); |