util: Initialize color in all cases git-svn-id: http://tint2.googlecode.com/svn/trunk@658 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
o9000 o9000
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/util/common.c
→
src/util/common.c
@@ -140,6 +140,7 @@
void get_color (char *hex, double *rgb) { int r, g, b; + r = g = b = 0; hex_to_rgb (hex, &r, &g, &b); rgb[0] = (r / 255.0);