# HG changeset patch # User Stefan Monnier # Date 1084556246 0 # Node ID 9d97dbb17b3f1e060e89f3e91fb665ca104d4e96 # Parent b7092385d1be633acc13795a4474d54e0be85931 (Fw32_define_rgb_color): Avoid XSET. diff -r b7092385d1be -r 9d97dbb17b3f src/w32fns.c --- a/src/w32fns.c Fri May 14 12:52:44 2004 +0000 +++ b/src/w32fns.c Fri May 14 17:37:26 2004 +0000 @@ -1,5 +1,5 @@ /* Graphical user interface functions for the Microsoft W32 API. - Copyright (C) 1989, 92, 93, 94, 95, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 01, 2004 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -465,7 +465,7 @@ CHECK_NUMBER (blue); CHECK_STRING (name); - XSET (rgb, Lisp_Int, RGB(XUINT (red), XUINT (green), XUINT (blue))); + XSETINT (rgb, RGB(XUINT (red), XUINT (green), XUINT (blue))); BLOCK_INPUT;