emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b3293583347: Fix the MS-Windows build broken by a recent commit


From: Eli Zaretskii
Subject: master b3293583347: Fix the MS-Windows build broken by a recent commit
Date: Sun, 28 Apr 2024 04:52:44 -0400 (EDT)

branch: master
commit b329358334712671de38f919c99d1434026aa8f2
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix the MS-Windows build broken by a recent commit
    
    * src/w32term.c (w32_draw_glyph_string): Move 'foreground'
    declaration to where it belongs.
---
 src/w32term.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/w32term.c b/src/w32term.c
index a0037e6e090..64dbafab3fd 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -2657,6 +2657,7 @@ w32_draw_glyph_string (struct glyph_string *s)
             {
               unsigned long thickness, position;
               int y;
+             COLORREF foreground;
 
               if (s->prev
                  && ((s->prev->face->underline == FACE_UNDERLINE_SINGLE)
@@ -2679,7 +2680,6 @@ w32_draw_glyph_string (struct glyph_string *s)
                  BOOL use_underline_position_properties;
                  Lisp_Object val = (WINDOW_BUFFER_LOCAL_VALUE
                                     (Qunderline_minimum_offset, s->w));
-                 COLORREF foreground;
 
                  if (FIXNUMP (val))
                    minimum_offset = max (0, XFIXNUM (val));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]