diff options
author | wil <[email protected]> | 2017-01-14 19:34:04 +0100 |
---|---|---|
committer | wil <[email protected]> | 2017-01-14 19:41:00 +0100 |
commit | 71b386964afa553cb2386a06304bfe55cdc25aa1 (patch) | |
tree | afcca444fa5acb2a267ee7e573e684a965ee3f2a /sway/commands/layout.c | |
parent | b74870f51653872b36dd31fc76bdb738979e58a9 (diff) |
replaced "bot" with "bottom" in auto layout commands
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index ff097fef..d04bb4dc 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c @@ -78,7 +78,7 @@ static struct cmd_results *cmd_layout_auto(swayc_t *container, int argc, char ** struct cmd_results *error = NULL; const char *cmd_name = "layout auto"; const char *set_inc_cmd_name = "layout auto [master|ncol] [set|inc]"; - const char *err_msg = "Allowed arguments are <right|left|top|bot|next|prev|master|ncol>"; + const char *err_msg = "Allowed arguments are <right|left|top|bottom|next|prev|master|ncol>"; bool need_layout_update = false; enum swayc_layouts old_layout = container->layout; @@ -90,7 +90,7 @@ static struct cmd_results *cmd_layout_auto(swayc_t *container, int argc, char ** layout = L_AUTO_RIGHT; } else if (strcasecmp(argv[1], "top") == 0) { layout = L_AUTO_TOP; - } else if (strcasecmp(argv[1], "bot") == 0) { + } else if (strcasecmp(argv[1], "bottom") == 0) { layout = L_AUTO_BOTTOM; } else if (strcasecmp(argv[1], "next") == 0) { if (is_auto_layout(container->layout) && container->layout < L_AUTO_LAST) { |