From 9bd4181d7cdff6a94cc76ced30e3a2a50e8f7c42 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 16 Jul 1996 23:25:18 +0000 Subject: (w32_read_socket): Need to erase background immediately before repainting exposed region. --- src/w32term.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/w32term.c b/src/w32term.c index 4f1fdb369c7..4299d1d6a0e 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -2408,6 +2408,8 @@ w32_read_socket (sd, bufp, numchars, waitp, expected) } else { + /* Erase background again for safety. */ + win32_clear_rect (f, NULL, &msg.rect); dumprectangle (f, msg.rect.left, msg.rect.top, -- cgit v1.2.1