aboutsummaryrefslogtreecommitdiff
path: root/sway/criteria.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/criteria.c')
-rw-r--r--sway/criteria.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index 6abe24af..7da790e6 100644
--- a/sway/criteria.c
+++ b/sway/criteria.c
@@ -280,8 +280,7 @@ static void unescape(char *value) {
char *readhead = value;
char *writehead = copy;
while (*readhead) {
- if (*readhead == '\\' &&
- (*(readhead + 1) == '"' || *(readhead + 1) == '\\')) {
+ if (*readhead == '\\' && *(readhead + 1) == '"') {
// skip the slash
++readhead;
}