summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 13:20:29 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 13:20:29 -0300
commitdd87fbd25cbda6d480d3b6e2f946cbde28bfa29d (patch)
tree7440b934398b343f920e5d017bbdc25d222cc915 /kicad
parent4056b557e4d7d3a49e4e9a233cb57127ee916b45 (diff)
downloadeeshow-dd87fbd25cbda6d480d3b6e2f946cbde28bfa29d.tar.gz
eeshow-dd87fbd25cbda6d480d3b6e2f946cbde28bfa29d.tar.bz2
eeshow-dd87fbd25cbda6d480d3b6e2f946cbde28bfa29d.zip
eeshow/kicad/sch-parse.c (recurse_sheet): don't forget to copy sheet size
Diffstat (limited to 'kicad')
-rw-r--r--kicad/sch-parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kicad/sch-parse.c b/kicad/sch-parse.c
index 4d60da5..9cc3bbd 100644
--- a/kicad/sch-parse.c
+++ b/kicad/sch-parse.c
@@ -354,6 +354,8 @@ static struct sheet *recurse_sheet(struct sch_ctx *ctx,
ctx->curr_sheet = parent;
sheet->title = stralloc(other->title);
sheet->objs = other->objs;
+ sheet->w = other->w;
+ sheet->h = other->h;
return sheet;
}
}