diff options
author | nicm <nicm> | 2017-04-20 09:43:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-20 09:43:45 +0000 |
commit | 21993105e53da0f5aae583b494c83f1cbbf48b1b (patch) | |
tree | 2698fe886647933d148dcdaaffbaae0ce5181d9b /window.c | |
parent | 0f25ad3ca32d329500ac830f3c13e60ead4cb3db (diff) |
Now that struct winlink has a session pointer, can remove some arguments.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -709,12 +709,12 @@ window_destroy_panes(struct window *w) } } -/* Retuns the printable flags on a window, empty string if no flags set. */ const char * -window_printable_flags(struct session *s, struct winlink *wl) +window_printable_flags(struct winlink *wl) { - static char flags[32]; - int pos; + struct session *s = wl->session; + static char flags[32]; + int pos; pos = 0; if (wl->flags & WINLINK_ACTIVITY) |