summaryrefslogtreecommitdiff
path: root/wsutil/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/color.h')
-rw-r--r--wsutil/color.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/wsutil/color.h b/wsutil/color.h
index 7199bba396..e4f9727b0c 100644
--- a/wsutil/color.h
+++ b/wsutil/color.h
@@ -30,16 +30,16 @@ extern "C" {
* Data structure holding RGB value for a color.
*/
typedef struct {
- guint16 red;
- guint16 green;
- guint16 blue;
+ guint16 red;
+ guint16 green;
+ guint16 blue;
} color_t;
inline static unsigned int
color_t_to_rgb(const color_t *color) {
return (((color->red >> 8) << 16)
- | ((color->green >> 8) << 8)
- | (color->blue >> 8));
+ | ((color->green >> 8) << 8)
+ | (color->blue >> 8));
}
#ifdef __cplusplus