1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

Bugfix: same text multiple times caused by if-family

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1141 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Nikolas Garofil 2008-06-07 19:11:29 +00:00
parent 538dbe4e91
commit a306817910
3 changed files with 7 additions and 1 deletions

View File

@ -63,7 +63,7 @@ David McCabe
utime utime
garo <nikolas at garofil dot be> garo <nikolas at garofil dot be>
some bugfixes developer
Ram Yalamanchili Ram Yalamanchili
tztime tztime

View File

@ -1,5 +1,10 @@
# $Id$ # $Id$
2008-06-07
* Fix bug where DEV_NAME can read uninitialised memory
* Fix bug where ${if_mounted /}foo$endif prints foo on 1 line for
each update instead of just 1 line
2008-06-05 2008-06-05
* Fix bug where conky prints everything twice to STDOUT when * Fix bug where conky prints everything twice to STDOUT when
out_to_console is enabled out_to_console is enabled

View File

@ -4279,6 +4279,7 @@ static void generate_text_internal(char *p, int p_max_size,
iconv_converting = 0; iconv_converting = 0;
#endif #endif
p[0] = 0;
for (i = 0; i < object_count; i++) { for (i = 0; i < object_count; i++) {
struct text_object *obj = &objs[i]; struct text_object *obj = &objs[i];