diff options
-rw-r--r-- | sway/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c index febff2dd..41233591 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -2152,9 +2152,9 @@ static struct cmd_results *cmd_set(int argc, char **argv) { | |||
2152 | return error; | 2152 | return error; |
2153 | } | 2153 | } |
2154 | 2154 | ||
2155 | if (argv[0][0] != '$') { | 2155 | if (argv[0][0] != '$') { |
2156 | return cmd_results_new(CMD_FAILURE, "set", "Malformed variable assignment, name has to start with $"); | 2156 | return cmd_results_new(CMD_FAILURE, "set", "Malformed variable assignment, name has to start with $"); |
2157 | } | 2157 | } |
2158 | 2158 | ||
2159 | struct sway_variable *var = NULL; | 2159 | struct sway_variable *var = NULL; |
2160 | // Find old variable if it exists | 2160 | // Find old variable if it exists |