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:
parent
cc4081f864
commit
ddedc640d1
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user