summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-11-28 18:11:36 +0000
committerRobin Watts <robin.watts@artifex.com>2012-11-28 18:29:09 +0000
commit9046411bcd6ec83002e5c23f3665b48a80973848 (patch)
tree84c3d27618c37d6c57149796619b2cf4fc0ff7d4 /apps
parent90269f9a74af33f980f8ff055145a320e92608e9 (diff)
downloadmupdf-9046411bcd6ec83002e5c23f3665b48a80973848.tar.xz
Bug 693392: Add \n to some printfs in mujstest.
This stops all the warnings coming out on a single line.
Diffstat (limited to 'apps')
-rw-r--r--apps/jstest_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/jstest_main.c b/apps/jstest_main.c
index b5d90144..f3ba0fc5 100644
--- a/apps/jstest_main.c
+++ b/apps/jstest_main.c
@@ -28,12 +28,12 @@ static char getline_buffer[LONGLINE];
void winwarn(pdfapp_t *app, char *msg)
{
- fprintf(stderr, "warning: %s", msg);
+ fprintf(stderr, "warning: %s\n", msg);
}
void winerror(pdfapp_t *app, char *msg)
{
- fprintf(stderr, "%s", msg);
+ fprintf(stderr, "%s\n", msg);
exit(1);
}