summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = "???";