X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo.c;h=5a310c610c8ec2f53b6c2ccaf704fee119e8063e;hb=173d1687aea88e0e5e1b1d8615ed68ebefb15d08;hp=d4f31aad6a011f2459f941353c7e8f1a64ca8e4c;hpb=4277d80790ded2c83d81a34ed536abe95c925d45;p=pspp diff --git a/src/output/cairo.c b/src/output/cairo.c index d4f31aad6a..5a310c610c 100644 --- a/src/output/cairo.c +++ b/src/output/cairo.c @@ -190,7 +190,7 @@ parse_font (struct output_driver *d, struct string_map *options, desc = pango_font_description_from_string (string); if (desc == NULL) { - error (0, 0, _("\"%s\": bad font specification"), string); + error (0, 0, _("`%s': bad font specification"), string); /* Fall back to DEFAULT_VALUE, which had better be a valid font description. */ @@ -354,7 +354,7 @@ xr_create (const char *file_name, enum settings_output_devices device_type, status = cairo_surface_status (surface); if (status != CAIRO_STATUS_SUCCESS) { - error (0, 0, _("error opening output file \"%s\": %s"), + error (0, 0, _("error opening output file `%s': %s"), file_name, cairo_status_to_string (status)); cairo_surface_destroy (surface); goto error; @@ -1038,7 +1038,7 @@ xr_draw_png_chart (const struct chart_item *item, status = cairo_surface_write_to_png (surface, file_name); if (status != CAIRO_STATUS_SUCCESS) - error (0, 0, _("error writing output file \"%s\": %s"), + error (0, 0, _("error writing output file `%s': %s"), file_name, cairo_status_to_string (status)); cairo_destroy (cr);