1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-28 13:00:45 +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; f = graph->graph_scale;
} }
/* Already happens in new_graph
if (graph->scaled) {
graph->graph_scale = 1;
}
*/
graph->graph[0] = f; /* add new data */ graph->graph[0] = f; /* add new data */
/* shift all the data by 1 */ /* shift all the data by 1 */
for (i = graph->graph_width - 1; i > 0; i--) { for (i = graph->graph_width - 1; i > 0; i--) {

View File

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