sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 0bf0a4fa4049cbabeb797536e549640ec5235454
parent 3b0c26d149dfe5e05df338692db8255a01f0998d
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Fri, 11 May 2018 10:42:24 +1000

Don't unescape \\ in criteria

Diffstat:
Msway/criteria.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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; }