summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-19 04:59:24 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-19 04:59:24 (GMT)
commitc93142e545d73b929ab6df42d991ea18cccf8fa4 (patch)
tree94da224d2f40b2ae9a9f9c6f89cb3c620930f72f /kicad
parent18915f40fd9ae32472981b7584a29a4ba3a62931 (diff)
downloadeeshow-c93142e545d73b929ab6df42d991ea18cccf8fa4.zip
eeshow-c93142e545d73b929ab6df42d991ea18cccf8fa4.tar.gz
eeshow-c93142e545d73b929ab6df42d991ea18cccf8fa4.tar.bz2
kicad/pl-render.c (expand): support %Z (paper format)
Diffstat (limited to 'kicad')
-rw-r--r--kicad/pl-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/pl-render.c b/kicad/pl-render.c
index 4751634..135a19c 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -114,7 +114,7 @@ static char *expand(const struct pl_ctx *pl, const char *s,
x = "%Y";
break;
case 'Z': // paper format
- x = "%Z";
+ x = (char *) sheet->size;
break;
default:
x = "???";