From 36d7425fb673ec9ed9ed4c753876012c1c63e037 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 18 Jan 2016 05:09:44 +0000 Subject: [PATCH] libcairo && libpixman: replace printf() with fprintf() git-svn-id: svn://kolibrios.org@6073 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/cairo/src/cairo-pattern.c | 10 +++++----- contrib/sdk/sources/pixman/pixman-implementation.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/sdk/sources/cairo/src/cairo-pattern.c b/contrib/sdk/sources/cairo/src/cairo-pattern.c index 940227d298..adb7f1f77b 100644 --- a/contrib/sdk/sources/cairo/src/cairo-pattern.c +++ b/contrib/sdk/sources/cairo/src/cairo-pattern.c @@ -51,8 +51,8 @@ * @See_Also: #cairo_t, #cairo_surface_t * * #cairo_pattern_t is the paint with which cairo draws. - * The primary use of patterns is as the source for all cairo drawing - * operations, although they can also be used as masks, that is, as the + * The primary use of patterns is as the source for all cairo drawing + * operations, although they can also be used as masks, that is, as the * brush too. * * A cairo pattern is created by using one of the many constructors, @@ -4022,7 +4022,7 @@ cairo_pattern_get_rgba (cairo_pattern_t *pattern, * cairo_pattern_get_surface: * @pattern: a #cairo_pattern_t * @surface: return value for surface of pattern, or %NULL - * + * * Gets the surface of a surface pattern. The reference returned in * @surface is owned by the pattern; the caller should call * cairo_surface_reference() if the surface is to be retained. @@ -4499,14 +4499,14 @@ static void _cairo_debug_print_surface_pattern (FILE *file, const cairo_surface_pattern_t *pattern) { - printf (" surface type: %d\n", pattern->surface->type); + fprintf (file," surface type: %d\n", pattern->surface->type); } static void _cairo_debug_print_raster_source_pattern (FILE *file, const cairo_raster_source_pattern_t *raster) { - printf (" content: %x, size %dx%d\n", raster->content, raster->extents.width, raster->extents.height); + fprintf (file, " content: %x, size %dx%d\n", raster->content, raster->extents.width, raster->extents.height); } static void diff --git a/contrib/sdk/sources/pixman/pixman-implementation.c b/contrib/sdk/sources/pixman/pixman-implementation.c index 0c97cd3a27..b2dc0569b2 100644 --- a/contrib/sdk/sources/pixman/pixman-implementation.c +++ b/contrib/sdk/sources/pixman/pixman-implementation.c @@ -368,7 +368,7 @@ _pixman_disabled (const char *name) if (strlen (name) == len && strncmp (name, env, len) == 0) { - printf ("pixman: Disabled %s implementation\n", name); + fprintf (stderr, "pixman: Disabled %s implementation\n", name); return TRUE; }