[Pixman] [PATCH] Make 'white' in add_glyphs() static and const
Søren Sandmann
sandmann at cs.au.dk
Sat Sep 29 08:05:03 PDT 2012
From: Søren Sandmann Pedersen <ssp at redhat.com>
---
pixman/pixman-glyph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pixman/pixman-glyph.c b/pixman/pixman-glyph.c
index 657b62d..15b3f1f 100644
--- a/pixman/pixman-glyph.c
+++ b/pixman/pixman-glyph.c
@@ -560,7 +560,7 @@ add_glyphs (pixman_glyph_cache_t *cache,
{
if (!white_img)
{
- pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff };
+ static const pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff };
if (!(white_img = pixman_image_create_solid_fill (&white)))
goto out;
--
1.7.4
More information about the Pixman
mailing list