When updating the edited line, remember to update attributes, too.

This commit is contained in:
Jukka Heinonen 2003-02-19 03:42:06 +00:00 committed by Alexandre Julliard
parent d0882d5435
commit 1868b026c1
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
/* ====================================================================