diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-01-18 14:01:21 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-01-18 14:01:21 +0000 |
commit | 82423975df8b8de859c58e84a4248f4749cb8b16 (patch) | |
tree | 2baed639932fc8a4937a7f7b0f81232f9e5d1155 /window-customize.c | |
parent | 66da51b6310baf408d805e0ec2f36f35bdb85339 (diff) | |
parent | 0730dce5abf5e43f8e3820a1d4e8754e61874a3d (diff) | |
download | rtmux-82423975df8b8de859c58e84a4248f4749cb8b16.tar.gz rtmux-82423975df8b8de859c58e84a4248f4749cb8b16.tar.bz2 rtmux-82423975df8b8de859c58e84a4248f4749cb8b16.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'window-customize.c')
-rw-r--r-- | window-customize.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/window-customize.c b/window-customize.c index 1dad07cd..a1f191b5 100644 --- a/window-customize.c +++ b/window-customize.c @@ -190,13 +190,6 @@ window_customize_scope_text(enum window_customize_scope scope, u_int idx; switch (scope) { - case WINDOW_CUSTOMIZE_NONE: - case WINDOW_CUSTOMIZE_KEY: - case WINDOW_CUSTOMIZE_SERVER: - case WINDOW_CUSTOMIZE_GLOBAL_SESSION: - case WINDOW_CUSTOMIZE_GLOBAL_WINDOW: - s = xstrdup(""); - break; case WINDOW_CUSTOMIZE_PANE: window_pane_index(fs->wp, &idx); xasprintf(&s, "pane %u", idx); @@ -207,6 +200,9 @@ window_customize_scope_text(enum window_customize_scope scope, case WINDOW_CUSTOMIZE_WINDOW: xasprintf(&s, "window %u", fs->wl->idx); break; + default: + s = xstrdup(""); + break; } return (s); } |