aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-07 20:37:08 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-07 20:37:08 -0400
commit212e4ef39518c4bb29eeef46f705770d3d28a6fc (patch)
tree19c1eb89136d7c96aa7a61703e362fba2fd1fa1d /sway/commands.c
parentMerge pull request #2084 from RedSoxFan/runtime-var-expansion (diff)
downloadsway-212e4ef39518c4bb29eeef46f705770d3d28a6fc.tar.gz
sway-212e4ef39518c4bb29eeef46f705770d3d28a6fc.tar.zst
sway-212e4ef39518c4bb29eeef46f705770d3d28a6fc.zip
Remove strip quoting and fix strncpy-overlap
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 464c9932..1523fdd1 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -274,7 +274,6 @@ struct cmd_results *execute_command(char *_exec, struct sway_seat *seat) {
274 for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) { 274 for (int i = handler->handle == cmd_set ? 2 : 1; i < argc; ++i) {
275 argv[i] = do_var_replacement(argv[i]); 275 argv[i] = do_var_replacement(argv[i]);
276 unescape_string(argv[i]); 276 unescape_string(argv[i]);
277 strip_quotes(argv[i]);
278 } 277 }
279 278
280 if (!config->handler_context.using_criteria) { 279 if (!config->handler_context.using_criteria) {