Mercurial > emacs
comparison src/w32fns.c @ 94432:2dd3f3069c1c
(Fw32_define_rgb_color): Fix typo in docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 28 Apr 2008 16:43:39 +0000 |
parents | a67af10a545c |
children | 45acd5e62f88 |
comparison
equal
deleted
inserted
replaced
94431:00021417bce1 | 94432:2dd3f3069c1c |
---|---|
503 | 503 |
504 | 504 |
505 | 505 |
506 DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color, | 506 DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color, |
507 Sw32_define_rgb_color, 4, 4, 0, | 507 Sw32_define_rgb_color, 4, 4, 0, |
508 doc: /* Convert RGB numbers to a windows color reference and associate with NAME. | 508 doc: /* Convert RGB numbers to a Windows color reference and associate with NAME. |
509 This adds or updates a named color to `w32-color-map', making it | 509 This adds or updates a named color to `w32-color-map', making it |
510 available for use. The original entry's RGB ref is returned, or nil | 510 available for use. The original entry's RGB ref is returned, or nil |
511 if the entry is new. */) | 511 if the entry is new. */) |
512 (red, green, blue, name) | 512 (red, green, blue, name) |
513 Lisp_Object red, green, blue, name; | 513 Lisp_Object red, green, blue, name; |
2757 | 2757 |
2758 memset (&dummy_buf, 0, sizeof (dummy_buf)); | 2758 memset (&dummy_buf, 0, sizeof (dummy_buf)); |
2759 dummy_buf.w32msg.msg.hwnd = NULL; | 2759 dummy_buf.w32msg.msg.hwnd = NULL; |
2760 dummy_buf.w32msg.msg.message = WM_NULL; | 2760 dummy_buf.w32msg.msg.message = WM_NULL; |
2761 | 2761 |
2762 /* This is the inital message loop which should only exit when the | 2762 /* This is the initial message loop which should only exit when the |
2763 application quits. */ | 2763 application quits. */ |
2764 w32_msg_pump (&dummy_buf); | 2764 w32_msg_pump (&dummy_buf); |
2765 | 2765 |
2766 return 0; | 2766 return 0; |
2767 } | 2767 } |
4462 that are needed to determine window geometry. */ | 4462 that are needed to determine window geometry. */ |
4463 #ifdef USE_FONT_BACKEND | 4463 #ifdef USE_FONT_BACKEND |
4464 if (enable_font_backend) | 4464 if (enable_font_backend) |
4465 x_default_font_parameter (f, parameters); | 4465 x_default_font_parameter (f, parameters); |
4466 else | 4466 else |
4467 #endif | 4467 #endif |
4468 { | 4468 { |
4469 Lisp_Object font; | 4469 Lisp_Object font; |
4470 | 4470 |
4471 font = w32_get_arg (parameters, Qfont, "font", "Font", RES_TYPE_STRING); | 4471 font = w32_get_arg (parameters, Qfont, "font", "Font", RES_TYPE_STRING); |
4472 | 4472 |