diff src/objects-msw.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 8de8e3f6228a
children 943eaba38521
line wrap: on
line diff
--- a/src/objects-msw.h	Mon Aug 13 11:33:40 2007 +0200
+++ b/src/objects-msw.h	Mon Aug 13 11:35:02 2007 +0200
@@ -50,7 +50,7 @@
    combinations.  Only the one at index 0, neither underlined nor
    struk through is created with the font instance. Other fonts are
    created as necessary during redisplay, using the one at index 0
-   as protptype */
+   as prototype */
 #define MSWINDOWS_NUM_FONT_VARIANTS 4
 struct mswindows_font_instance_data
 {
@@ -69,8 +69,10 @@
 /* If font creation during redisplay fails, then the following
    value is used to prevent future attempts to create this font.
    Redisplay uses the "main" font when encounters this value */
-#define MSWINDOWS_BAD_HFONT INVALID_HANDLE_VALUE
+#define MSWINDOWS_BAD_HFONT ((HFONT)INVALID_HANDLE_VALUE)
 
 HFONT mswindows_get_hfont (Lisp_Font_Instance* f, int under, int strike);
 
+Lisp_Object mswindows_color_to_string (COLORREF color);
+
 #endif /* INCLUDED_objects_msw_h_ */