# HG changeset patch # User Eli Zaretskii # Date 1120297982 0 # Node ID 12f374b6c866d2beeebca8097c3f6fa40adefc67 # Parent 954c9ade6e2bab3a5f3259b35197a5f8ae1a79e2 (w32_draw_vertical_window_border): Use foreground of VERTICAL_BORDER_FACE_ID for vertical border line. diff -r 954c9ade6e2b -r 12f374b6c866 src/w32term.c --- a/src/w32term.c Sat Jul 02 09:40:42 2005 +0000 +++ b/src/w32term.c Sat Jul 02 09:53:02 2005 +0000 @@ -510,6 +510,7 @@ struct frame *f = XFRAME (WINDOW_FRAME (w)); RECT r; HDC hdc; + struct face *face; r.left = x; r.right = x + 1; @@ -517,7 +518,12 @@ r.bottom = y1; hdc = get_frame_dc (f); - w32_fill_rect (f, hdc, FRAME_FOREGROUND_PIXEL (f), &r); + face = FACE_FROM_ID (f, VERTICAL_BORDER_FACE_ID); + if (face) + w32_fill_rect (f, hdc, face->foreground, &r); + else + w32_fill_rect (f, hdc, FRAME_FOREGROUND_PIXEL (f), &r); + release_frame_dc (f, hdc); }