summaryrefslogtreecommitdiff
path: root/src/colors.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-05-31 16:13:02 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-05-31 16:13:02 -0400
commita143902147b53c1792f5f844e9efe62d163ed362 (patch)
treeb6872ace7c3298ec9393a72d61608b8d401a7b61 /src/colors.c
parente16672e1ffcf3e52f1444c362c52183c9f9f201c (diff)
line length
Diffstat (limited to 'src/colors.c')
-rw-r--r--src/colors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/colors.c b/src/colors.c
index 6a684dde..90c738c4 100644
--- a/src/colors.c
+++ b/src/colors.c
@@ -221,9 +221,9 @@ static int32_t Color_parse_hex (const char *s, int32_t default_color, int *err)
*err = 0;
else if (tail - s == 3) { /* #RGB as allowed by CSS */
*err = 0;
- ret_color = ((ret_color & 0xf00) << 12) | ((ret_color & 0xf00) << 8) |
- ((ret_color & 0x0f0) << 8) | ((ret_color & 0x0f0) << 4) |
- ((ret_color & 0x00f) << 4) | ((ret_color & 0x00f) << 0);
+ ret_color = ((ret_color & 0xf00) << 12) | ((ret_color & 0xf00) << 8) |
+ ((ret_color & 0x0f0) << 8) | ((ret_color & 0x0f0) << 4) |
+ ((ret_color & 0x00f) << 4) | ((ret_color & 0x00f) << 0);
} else
ret_color = default_color;