1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

Fix bug SF ID 2814810 (wrong output with execp and execpi)

This commit is contained in:
Nikolas Garofil 2009-07-23 13:33:49 +02:00
parent ccd51857c1
commit 03a0e8ae19

View File

@ -6004,7 +6004,7 @@ static void generate_text_internal(char *p, int p_max_size,
a = outptr - p;
}
#endif /* HAVE_ICONV */
if (obj->type != OBJ_text) {
if (obj->type != OBJ_text && obj->type != OBJ_execp && obj->type != OBJ_execpi) {
substitute_newlines(p, a - 2);
}
p += a;