1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-11 10:38:12 +00:00

graphs should stop giving crazy data now

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@327 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-09-16 01:55:36 +00:00
parent cc4081f864
commit ddedc640d1
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
2005-09-15
* Fixed right-alignment bug thanks to Pascal Eberhard
* Applied patch 1291420 from sf.net
* Fixed issue with whack graph data
* Fixed issue with Conky quitting when a file fails to load
2005-09-11
* Fixed bug with xft and double buffer in own window

View File

@ -548,6 +548,7 @@ static void new_graph(char *buf, int w, int h, unsigned int first_colour, unsign
s->graph_width = MAX_GRAPH_DEPTH - 3;
}
s->graph = malloc(s->graph_width * sizeof(double));
memset(s->graph, 0, s->graph_width * sizeof(double));
s->graph_scale = 100;
}
s->height = h;