diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-02 12:08:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-03-02 12:08:34 +0000 |
commit | c01251d02388efceca515c47c257e2b5342e3716 (patch) | |
tree | ca89407cb43bd2caa40a6854ba49ce1720e892ce /window-customize.c | |
parent | 5c275c2a1a963876d4ac392067e42120417dbf43 (diff) | |
parent | 1466b570eedda0423d5a386d2b16b7ff0c0e477c (diff) | |
download | rtmux-c01251d02388efceca515c47c257e2b5342e3716.tar.gz rtmux-c01251d02388efceca515c47c257e2b5342e3716.tar.bz2 rtmux-c01251d02388efceca515c47c257e2b5342e3716.zip |
Merge branch 'master' into 3.2-rc
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); } |