]> granicus.if.org Git - nethack/commitdiff
(from Yitzhak)
authornethack.allison <nethack.allison>
Mon, 1 Apr 2002 19:55:37 +0000 (19:55 +0000)
committernethack.allison <nethack.allison>
Mon, 1 Apr 2002 19:55:37 +0000 (19:55 +0000)
win/win32/mswproc.c

index 242408c059841687d79bbf1ce36d645dc69df1c1..f08404e64c3fdc0cc528555880ad6116a004fb86 100644 (file)
@@ -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;