1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00

Let the graphs be bigger.

This commit is contained in:
Brenden Matthews 2009-05-24 23:31:35 -06:00
parent 35a72f5a95
commit b0f37a63e8
2 changed files with 1 additions and 8 deletions

View File

@ -279,11 +279,6 @@ static void graph_append(struct special_t *graph, double f, char showaslog)
f = graph->graph_scale;
}
/* Already happens in new_graph
if (graph->scaled) {
graph->graph_scale = 1;
}
*/
graph->graph[0] = f; /* add new data */
/* shift all the data by 1 */
for (i = graph->graph_width - 1; i > 0; i--) {

View File

@ -31,9 +31,7 @@
#define SPECIAL_CHAR '\x01'
/* why 256? cause an array of more then 256 doubles seems excessive,
* and who needs that kind of precision anyway? */
#define MAX_GRAPH_DEPTH 256
#define MAX_GRAPH_DEPTH 512
// don't use spaces in LOGGRAPH or NORMGRAPH if you change them
#define LOGGRAPH "log"