mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-24 15:48:28 +00:00
Fixed bug in template stuff.
This commit is contained in:
parent
99a496b3ea
commit
0d4f9499eb
@ -2565,7 +2565,7 @@ static char *backslash_escape(const char *src, char **templates, unsigned int te
|
||||
const char *p;
|
||||
unsigned int dup_idx = 0, dup_len;
|
||||
|
||||
dup_len = strlen(src);
|
||||
dup_len = strlen(src) + 1;
|
||||
src_dup = malloc(dup_len * sizeof(char));
|
||||
|
||||
p = src;
|
||||
|
Loading…
x
Reference in New Issue
Block a user