summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/mudraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index d63f936c..fb253da4 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -1130,6 +1130,8 @@ int mudraw_main(int argc, char **argv)
if (pdfout)
{
+ if (!output)
+ output = "out.pdf";
pdf_save_document(ctx, pdfout, output, NULL);
pdf_close_document(ctx, pdfout);
}