projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b03678
)
cairo: Add missing new-lines at the end of messages written to stderr.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 25 Dec 2020 20:17:36 +0000
(12:17 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 25 Dec 2020 20:17:45 +0000
(12:17 -0800)
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index a3fb1b7d13b184bf9b8eb9198ac6c816a0e375fc..fdcf67fd3ae91305e1974e362fb35cde918ad19b 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-390,7
+390,7
@@
static void
xr_report_error (cairo_status_t status, const char *file_name)
{
if (status != CAIRO_STATUS_SUCCESS)
xr_report_error (cairo_status_t status, const char *file_name)
{
if (status != CAIRO_STATUS_SUCCESS)
- fprintf (stderr, "%s: %s", file_name, cairo_status_to_string (status));
+ fprintf (stderr, "%s: %s
\n
", file_name, cairo_status_to_string (status));
}
static void
}
static void
@@
-532,7
+532,7
@@
xr_destroy (struct output_driver *driver)
cairo_surface_finish (xr->dest_surface);
cairo_status_t status = cairo_surface_status (xr->dest_surface);
if (status != CAIRO_STATUS_SUCCESS)
cairo_surface_finish (xr->dest_surface);
cairo_status_t status = cairo_surface_status (xr->dest_surface);
if (status != CAIRO_STATUS_SUCCESS)
- fprintf (stderr, _("error drawing output for %s driver: %s"),
+ fprintf (stderr, _("error drawing output for %s driver: %s
\n
"),
output_driver_get_name (driver),
cairo_status_to_string (status));
cairo_surface_destroy (xr->dest_surface);
output_driver_get_name (driver),
cairo_status_to_string (status));
cairo_surface_destroy (xr->dest_surface);