mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 20:31:17 +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
c9f1625908
commit
f7dcc664d7
@ -1327,7 +1327,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