From: nethack.allison Date: Mon, 1 Apr 2002 19:55:37 +0000 (+0000) Subject: (from Yitzhak) X-Git-Tag: MOVE2GIT~2827 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=add3dcf7eec877397b11e18821efb6e7609d11aa;p=nethack (from Yitzhak) --- 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;