summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 17:54:26 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 17:54:26 -0300
commitc2de063fc1c4a0816984588db335e20cd4446fe1 (patch)
tree78d979f8774e19e5560b183aee1f27180b5e9293 /gui/render.c
parent1ec2c88d8368174f27358a0084cad5b2bd3b8607 (diff)
downloadeeshow-c2de063fc1c4a0816984588db335e20cd4446fe1.tar.gz
eeshow-c2de063fc1c4a0816984588db335e20cd4446fe1.tar.bz2
eeshow-c2de063fc1c4a0816984588db335e20cd4446fe1.zip
support showing pin types also in diff mode (hackishly, but works)
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/render.c b/gui/render.c
index 5396f63..050f428 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -160,7 +160,8 @@ static void hack(const struct gui_ctx *ctx, cairo_t *cr,
areas = changed_sheets(ctx, xo, yo, f);
diff_to_canvas(cr, ctx->x, ctx->y, ctx->scale,
- old->gfx_ctx, new->gfx_ctx, areas);
+ old->gfx_ctx, show_extra ? old->gfx_ctx_extra : NULL,
+ new->gfx_ctx, show_extra ? new->gfx_ctx_extra : NULL, areas);
free_areas(&areas);
}