From b01c85c17a0a1e78837aeab79b15054ab15c8483 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 9 Jun 2017 19:59:39 -0700 Subject: Fix indentation. Change-Id: I9ea3947a4100d4d566c0d6815de5336214f9f581 Reviewed-on: https://code.wireshark.org/review/22062 Reviewed-by: Guy Harris --- wsutil/color.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wsutil') 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 -- cgit v1.2.1