diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-06-19 10:01:15 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-06-19 10:01:15 -0400 |
commit | 71f710cf0f1c4039f0623d5e149c077c0aa25dc5 (patch) | |
tree | c101b5522ec4c7ea5fadc0a0c4b044a09555379e | |
parent | Merge pull request #716 from Hummer12007/patch-1 (diff) | |
download | sway-71f710cf0f1c4039f0623d5e149c077c0aa25dc5.tar.gz sway-71f710cf0f1c4039f0623d5e149c077c0aa25dc5.tar.zst sway-71f710cf0f1c4039f0623d5e149c077c0aa25dc5.zip |
Minor fix to warning messages
-rw-r--r-- | sway/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c index 4009997b..55f46f79 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -251,7 +251,7 @@ static struct cmd_results *cmd_bindsym(int argc, char **argv) { | |||
251 | } else { | 251 | } else { |
252 | free_sway_binding(binding); | 252 | free_sway_binding(binding); |
253 | return cmd_results_new(CMD_FAILURE, "bindsym", | 253 | return cmd_results_new(CMD_FAILURE, "bindsym", |
254 | "Invalid bindsym command" | 254 | "Invalid bindsym command " |
255 | "(expected more than 2 arguments, got %d)", argc); | 255 | "(expected more than 2 arguments, got %d)", argc); |
256 | } | 256 | } |
257 | } | 257 | } |
@@ -317,7 +317,7 @@ static struct cmd_results *cmd_bindcode(int argc, char **argv) { | |||
317 | } else { | 317 | } else { |
318 | free_sway_binding(binding); | 318 | free_sway_binding(binding); |
319 | return cmd_results_new(CMD_FAILURE, "bindcode", | 319 | return cmd_results_new(CMD_FAILURE, "bindcode", |
320 | "Invalid bindcode command" | 320 | "Invalid bindcode command " |
321 | "(expected more than 2 arguments, got %d)", argc); | 321 | "(expected more than 2 arguments, got %d)", argc); |
322 | } | 322 | } |
323 | } | 323 | } |