diff options
author | Robert Günzler <r@gnzler.io> | 2019-10-31 20:09:33 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-10-31 23:05:06 +0100 |
commit | 354e705a7be9158c6dd14bb4f9751023e2e974b8 (patch) | |
tree | fdf05303d7cc4db848f7ae2f5827e7a1aa0057bd /sway/commands/bar/font.c | |
parent | 1a253ca7ab123619bcf02e1503fd9a47d2c433e9 (diff) |
Skip line continuation when it is a comment
Currently commented lines ending in the backslash character will be
concatenated with the following line.
```
# with this comment \
exec swaynag -m 'will not run'
```
This change modifies `getline_with_cont` to stop reading when the
initial character is a '#'.
Diffstat (limited to 'sway/commands/bar/font.c')
0 files changed, 0 insertions, 0 deletions