mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Bugfix: When the first line behind TEXT was a comment, the start of the second line wasn't parsed
This commit is contained in:
parent
939985042a
commit
34f3547c0d
@ -1819,7 +1819,7 @@ int extract_variable_text_internal(struct text_object *retval, const char *const
|
||||
strfold(p, 1);
|
||||
} else if (*p == '#') {
|
||||
char c;
|
||||
if (remove_comment(p, &c) && p > orig_p && c == '\n') {
|
||||
if (remove_comment(p, &c) && p >= orig_p && c == '\n') {
|
||||
/* if remove_comment removed a newline, we need to 'back up' with p */
|
||||
p--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user