From 1868b026c15515629a017888ebfb6996cff5c917 Mon Sep 17 00:00:00 2001 From: Jukka Heinonen Date: Wed, 19 Feb 2003 03:42:06 +0000 Subject: [PATCH] When updating the edited line, remember to update attributes, too. --- dlls/kernel/editline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/kernel/editline.c b/dlls/kernel/editline.c index 1cb1030a7d8..086b2bc0ee3 100644 --- a/dlls/kernel/editline.c +++ b/dlls/kernel/editline.c @@ -143,6 +143,8 @@ static inline void WCEL_Update(WCEL_Context* ctx, int beg, int len) { WriteConsoleOutputCharacterW(ctx->hConOut, &ctx->line[beg], len, WCEL_GetCoord(ctx, beg), NULL); + FillConsoleOutputAttribute(ctx->hConOut, ctx->csbi.wAttributes, len, + WCEL_GetCoord(ctx, beg), NULL); } /* ====================================================================