summaryrefslogtreecommitdiff
path: root/kicad/pl-render.c
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/pl-render.c')
-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 aa3ee6c..fd20992 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -107,7 +107,7 @@ static char *expand(const struct pl_ctx *pl, const char *s,
do_free = 1;
break;
case 'T': // title
- x = (char *) sheet->title;
+ x = sheet->title ? (char *) sheet->title : "";
break;
case 'Y': // company name
x = "%Y";