mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 04:54:14 +01:00
Fix indented comments being weird
This commit is contained in:
parent
443ae9b89e
commit
8e201091a5
@ -188,8 +188,8 @@ bool read_config(FILE *file, bool is_active) {
|
|||||||
while (!feof(file)) {
|
while (!feof(file)) {
|
||||||
int _;
|
int _;
|
||||||
char *line = read_line(file);
|
char *line = read_line(file);
|
||||||
line = strip_comments(line);
|
|
||||||
line = strip_whitespace(line, &_);
|
line = strip_whitespace(line, &_);
|
||||||
|
line = strip_comments(line);
|
||||||
if (!line[0]) {
|
if (!line[0]) {
|
||||||
goto _continue;
|
goto _continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user