From b0f37a63e819d37c2bd1f8349db38535bd39f7a0 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 24 May 2009 23:31:35 -0600 Subject: [PATCH] Let the graphs be bigger. --- src/specials.c | 5 ----- src/specials.h | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/specials.c b/src/specials.c index e35d5f19..b1d59768 100644 --- a/src/specials.c +++ b/src/specials.c @@ -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--) { diff --git a/src/specials.h b/src/specials.h index 901e6eb2..d9ba3f8b 100644 --- a/src/specials.h +++ b/src/specials.h @@ -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"