Fix bug SF ID 2814810 (wrong output with execp and execpi)
authorNikolas Garofil <garo@dunaldi.garofil.be>
Thu, 23 Jul 2009 11:33:49 +0000 (13:33 +0200)
committerNikolas Garofil <garo@dunaldi.garofil.be>
Thu, 23 Jul 2009 11:33:49 +0000 (13:33 +0200)
src/conky.c

index 0d7f44e..2c562eb 100644 (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;