From add3dcf7eec877397b11e18821efb6e7609d11aa Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 1 Apr 2002 19:55:37 +0000 Subject: [PATCH] (from Yitzhak) --- win/win32/mswproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 242408c05..f08404e64 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -2188,7 +2188,7 @@ static void mswin_color_from_string(char *colorstring, HBRUSH* brushptr, COLORRE blue_value *= 16; blue_value += index(hexadecimals, tolower(*colorstring++)) - hexadecimals; - *colorptr = RGB(red_value, blue_value, green_value); + *colorptr = RGB(red_value, green_value, blue_value); } else { while (*ctv_ptr->colorstring && stricmp(ctv_ptr->colorstring, colorstring)) ++ctv_ptr; -- 2.40.0