fixes to cmd queue freeing, style

This commit is contained in:
Luminarys 2015-08-13 13:22:20 -05:00
parent 9a0a858d1e
commit 527288a826
3 changed files with 3 additions and 4 deletions

View file

@ -229,8 +229,7 @@ static bool cmd_set(struct sway_config *config, int argc, char **argv) {
static bool _do_split(struct sway_config *config, int argc, char **argv, int layout) {
char *name = layout == L_VERT ? "splitv":
layout == L_HORIZ ? "splith":
"split";
layout == L_HORIZ ? "splith":"split";
if (!checkarg(argc, name, EXPECTED_EQUAL_TO, 0)) {
return false;
}