diff options
author | 2017-04-15 17:13:28 +0300 | |
---|---|---|
committer | 2017-04-16 17:09:53 +0300 | |
commit | cf5e764c7f69bdce8dd76cb0d6c464b7f245ef94 (patch) | |
tree | 6431853157a586443d0a0a8a9a3190db44e09659 /sway/commands.c | |
parent | Merge pull request #1175 from JerziKaminsky/fix_sway_assert_variadic (diff) | |
download | sway-cf5e764c7f69bdce8dd76cb0d6c464b7f245ef94.tar.gz sway-cf5e764c7f69bdce8dd76cb0d6c464b7f245ef94.tar.zst sway-cf5e764c7f69bdce8dd76cb0d6c464b7f245ef94.zip |
Disambiguate get_*_policy() and get_*_policy_mask()
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 17c7d717..4d7af301 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -437,7 +437,7 @@ struct cmd_results *handle_command(char *_exec, enum command_context context) { | |||
437 | free_argv(argc, argv); | 437 | free_argv(argc, argv); |
438 | goto cleanup; | 438 | goto cleanup; |
439 | } | 439 | } |
440 | if (!(get_command_policy(argv[0]) & context)) { | 440 | if (!(get_command_policy_mask(argv[0]) & context)) { |
441 | if (results) { | 441 | if (results) { |
442 | free_cmd_results(results); | 442 | free_cmd_results(results); |
443 | } | 443 | } |