diff options
author | Andrés <andmarti@gmail.com> | 2021-03-13 22:33:29 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-13 22:33:29 -0300 |
commit | a241a518966e498262b670888e136120ccb41c5f (patch) | |
tree | 6b87930e0d1912679a4cd6e60fa48377d5d3e22a /src | |
parent | 43c372b4b4317c355dd31cd152d061c864d93e0c (diff) |
fix saving colors
Diffstat (limited to 'src')
-rw-r--r-- | src/interp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/interp.c b/src/interp.c index 1dba447..526ff75 100644 --- a/src/interp.c +++ b/src/interp.c @@ -1298,7 +1298,6 @@ double eval(register struct ent * ent, register struct enode * e) { case PI_: if (ent && getVertex(graph, ent, 0) == NULL) GraphAddVertex(graph, ent); return ((double) M_PI); - /* case BLACK: return ((double) COLOR_BLACK); case RED: return ((double) COLOR_RED); case GREEN: return ((double) COLOR_GREEN); @@ -1308,7 +1307,6 @@ double eval(register struct ent * ent, register struct enode * e) { case CYAN: return ((double) COLOR_CYAN); case WHITE: return ((double) COLOR_WHITE); case DEFAULT_COLOR: return ((double) DEFAULT_COLOR); - */ case FACT: { double total = eval(ent, e->e.o.left); @@ -3047,7 +3045,6 @@ void decompile(register struct enode *e, int priority) { for (s = "@pi"; (line[linelim++] = *s++); ); linelim--; break; - /* case BLACK: for (s = "@black"; (line[linelim++] = *s++); ); linelim--; @@ -3084,7 +3081,6 @@ void decompile(register struct enode *e, int priority) { for (s = "@default_color"; (line[linelim++] = *s++); ); linelim--; break; - */ case FACT: one_arg("@fact(", e); break; default: decompile(e->e.o.left, mypriority); |