mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Merge remote-tracking branch 'upstream/master' into gaps
This commit is contained in:
commit
c75d5ceba4
13 changed files with 289 additions and 150 deletions
|
|
@ -188,9 +188,10 @@ bool read_config(FILE *file, bool is_active) {
|
|||
int temp_depth = 0; // Temporary: skip all config sections with depth
|
||||
|
||||
while (!feof(file)) {
|
||||
int _;
|
||||
char *line = read_line(file);
|
||||
strip_comments(line);
|
||||
strip_whitespace(line);
|
||||
line = strip_comments(line);
|
||||
line = strip_whitespace(line, &_);
|
||||
if (!line[0]) {
|
||||
goto _continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue