diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-05-06 10:03:52 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-05-06 10:03:52 +0100 |
commit | f10d3675f8d86e76b5b04d8473b83a9eec778ab3 (patch) | |
tree | 3e56aa430262591d01934fd7e1a9ec8e07d4d120 /window.c | |
parent | c0cf4843e50ae7b123613798c209f30440d73e55 (diff) | |
parent | 31b1ab48521b4b608d87abd5413441905da84da8 (diff) | |
download | rtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.tar.gz rtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.tar.bz2 rtmux-f10d3675f8d86e76b5b04d8473b83a9eec778ab3.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -642,7 +642,7 @@ window_destroy_panes(struct window *w) } } -/* Return list of printable window flag symbols. No flags is just a space. */ +/* Retuns the printable flags on a window, empty string if no flags set. */ char * window_printable_flags(struct session *s, struct winlink *wl) { @@ -662,8 +662,6 @@ window_printable_flags(struct session *s, struct winlink *wl) flags[pos++] = '-'; if (wl->window->flags & WINDOW_ZOOMED) flags[pos++] = 'Z'; - if (pos == 0) - flags[pos++] = ' '; flags[pos] = '\0'; return (xstrdup(flags)); } |