summaryrefslogtreecommitdiff
path: root/src/sim/sim.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-05-28 18:30:19 +0000
committerscuri <scuri>2010-05-28 18:30:19 +0000
commita7a26229ffdcac9b23adbc51f4df7af30bb2cc0c (patch)
tree60a46d80534441aa0f1b5396fd902dd67d5b91fb /src/sim/sim.c
parentc342fa4c3480daedd9580082c07cb6ad2b35a6ef (diff)
*** empty log message ***
Diffstat (limited to 'src/sim/sim.c')
-rw-r--r--src/sim/sim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/sim.c b/src/sim/sim.c
index 194265c..9c7c584 100644
--- a/src/sim/sim.c
+++ b/src/sim/sim.c
@@ -109,8 +109,6 @@ void simFillHorizLine(cdSimulation* simulation, int xmin, int y, int xmax)
void simFillHorizBox(cdSimulation* simulation, int xmin, int xmax, int ymin, int ymax)
{
- cdCanvas* canvas = ((cdCtxCanvasBase*)ctxcanvas)->canvas;
- cdSimulation* simulation = canvas->simulation;
int y;
for(y=ymin;y<=ymax;y++)
simFillHorizLine(simulation, xmin, y, xmax);