diff options
author | okan <okan> | 2015-06-08 15:34:03 +0000 |
---|---|---|
committer | okan <okan> | 2015-06-08 15:34:03 +0000 |
commit | 8888c44888c65f1ba76b1ddc5e37dbc644856642 (patch) | |
tree | 320c68d6003e225c649877ed43a333710a3dc90b /search.c | |
parent | 9180bb1a06abc01e8b0eaa0ae6b8c934988a8f6e (diff) | |
download | cwm-8888c44888c65f1ba76b1ddc5e37dbc644856642.tar.gz cwm-8888c44888c65f1ba76b1ddc5e37dbc644856642.tar.xz cwm-8888c44888c65f1ba76b1ddc5e37dbc644856642.zip |
add client label
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/search.c b/search.c index ac9f632..770159b 100644 --- a/search.c +++ b/search.c @@ -143,8 +143,9 @@ search_print_client(struct menu *mi, int list) if (list) cc->matchname = cc->name; - (void)snprintf(mi->print, sizeof(mi->print), "(%d) %c%s", - cc->group ? cc->group->num : 0, flag, cc->matchname); + (void)snprintf(mi->print, sizeof(mi->print), "(%d) %c[%s] %s", + cc->group ? cc->group->num : 0, flag, + cc->label ? cc->label : "", cc->matchname); if (!list && cc->matchname != cc->name && strlen(mi->print) < sizeof(mi->print) - 1) { |