From c85727ae62a3e362f645a2dcaa7a0a4e27c7ff28 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Wed, 15 Nov 2023 21:27:05 +0100 Subject: [PATCH] draw_graph(): revert back tcleval() on node, color, sweep graph attrs --- src/draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/draw.c b/src/draw.c index 1aeb63f8..4e46233d 100644 --- a/src/draw.c +++ b/src/draw.c @@ -3283,9 +3283,9 @@ void draw_graph(int i, const int flags, Graph_ctx *gr, void *ct) /* graph box, gridlines and axes */ draw_graph_grid(gr, ct); /* get data to plot */ - my_strdup2(_ALLOC_ID_, &node, get_tok_value(r->prop_ptr,"node",2)); - my_strdup2(_ALLOC_ID_, &color, get_tok_value(r->prop_ptr,"color",2)); - my_strdup2(_ALLOC_ID_, &sweep, get_tok_value(r->prop_ptr,"sweep",2)); + my_strdup2(_ALLOC_ID_, &node, get_tok_value(r->prop_ptr,"node",0)); + my_strdup2(_ALLOC_ID_, &color, get_tok_value(r->prop_ptr,"color",0)); + my_strdup2(_ALLOC_ID_, &sweep, get_tok_value(r->prop_ptr,"sweep",0)); my_strdup2(_ALLOC_ID_, &custom_rawfile, get_tok_value(r->prop_ptr,"rawfile",0)); my_strdup2(_ALLOC_ID_, &sim_type, get_tok_value(r->prop_ptr,"sim_type",0)); /* transform multiple OP points into a dc sweep */