diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-08-25 21:00:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-09-01 20:06:32 +0800 |
commit | d89e767a1cde7b3349182e713085241e58a30fe8 (patch) | |
tree | 2c054ebfdc252d71a774b6be11fdaa2a5ee64494 /filter/e-filter-color.c | |
parent | caff4060d5542aec79b8e27d0a35f8097c5fdfc0 (diff) | |
download | gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.gz gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.bz2 gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.lz gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.xz gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.tar.zst gsoc2013-evolution-d89e767a1cde7b3349182e713085241e58a30fe8.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'filter/e-filter-color.c')
-rw-r--r-- | filter/e-filter-color.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/e-filter-color.c b/filter/e-filter-color.c index 3b39cabbbf..e267489b09 100644 --- a/filter/e-filter-color.c +++ b/filter/e-filter-color.c @@ -60,7 +60,8 @@ filter_color_xml_encode (EFilterElement *element) xmlNodePtr value; gchar spec[16]; - g_snprintf (spec, sizeof (spec), "#%04x%04x%04x", + g_snprintf ( + spec, sizeof (spec), "#%04x%04x%04x", fc->color.red, fc->color.green, fc->color.blue); value = xmlNewNode (NULL, (xmlChar *)"value"); @@ -124,7 +125,8 @@ filter_color_format_sexp (EFilterElement *element, EFilterColor *fc = E_FILTER_COLOR (element); gchar spec[16]; - g_snprintf (spec, sizeof (spec), "#%04x%04x%04x", + g_snprintf ( + spec, sizeof (spec), "#%04x%04x%04x", fc->color.red, fc->color.green, fc->color.blue); camel_sexp_encode_string (out, spec); } |