sway

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

commit 868cb3ca71713014cc613b49f8521c01e60f366e
parent 2139001c9f61a84ed1ac581a54bb2bde68928afd
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 18 Aug 2015 08:05:34 -0400

Revert "config handles comments better"

This reverts commit e9c3a9016f1df5877404721043967431afb2f5c7.

Diffstat:
Msway/stringop.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/stringop.c b/sway/stringop.c @@ -41,7 +41,7 @@ void strip_comments(char *str) { } else if (str[i] == '\'' && !in_string) { in_character = !in_character; } else if (!in_character && !in_string) { - if (str[i] == '#') { + if (str[i] == '#' && i == 0) { str[i] = '\0'; break; }