diff options
author | Pablo Barciela <[email protected]> | 2018-01-10 21:02:59 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-01-10 21:02:59 +0100 |
commit | a34ea4de6c653e184bf5eeef17dd2d73a9955fb1 (patch) | |
tree | ed19461afe22f910849d37fcb0e97eb49a6fbb49 /libslab | |
parent | 173a0e7236c1ea5ea42be1ed91c11d94001e3124 (diff) | |
download | mate-control-center-a34ea4de6c653e184bf5eeef17dd2d73a9955fb1.tar.bz2 mate-control-center-a34ea4de6c653e184bf5eeef17dd2d73a9955fb1.tar.xz |
libslab: search-entry.c: Fix build warning:
‘__builtin___snprintf_chk’ output truncated before the last format character
Diffstat (limited to 'libslab')
-rw-r--r-- | libslab/search-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libslab/search-entry.c b/libslab/search-entry.c index 2fd3ae64..4e843ca4 100644 --- a/libslab/search-entry.c +++ b/libslab/search-entry.c @@ -99,7 +99,7 @@ nld_search_entry_realize (GtkWidget * widget) priv->height = height - 2; gdkcolor = >k_widget_get_style (widget)->fg[gtk_widget_get_state (widget)]; - snprintf (color, 6, "%02x%02x%02x", gdkcolor->red >> 8, gdkcolor->green >> 8, + snprintf (color, 7, "%02x%02x%02x", gdkcolor->red >> 8, gdkcolor->green >> 8, gdkcolor->blue >> 8); svg = g_strdup_printf (SEARCH_ENTRY_WATERMARK_SVG, color, color); |