1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Fix escaping of comments in TEXT (sf.net #2813390, thanks Nils).

This commit is contained in:
Nils Schweinsberg 2009-07-02 00:36:37 -06:00 committed by Brenden Matthews
parent c84d9f8b26
commit aaca08fc97
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2009-07-01
* Fix escaping of comments in TEXT (sf.net #2813390, thanks Nils)
2009-06-29 2009-06-29
* Fix segfault in to_real_path, it's sometimes called with the same * Fix segfault in to_real_path, it's sometimes called with the same
source and dest without checking the length, causing a segfault. source and dest without checking the length, causing a segfault.

View File

@ -3385,6 +3385,8 @@ static int extract_variable_text_internal(struct text_object *retval, const char
append_object(retval, obj); append_object(retval, obj);
} }
} }
} else if (*p == '\\' && *(p+1) == '#') {
strfold(p, 1);
} else if (*p == '#') { } else if (*p == '#') {
remove_comment(p); remove_comment(p);
} }