summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-16 23:25:18 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-16 23:25:18 +0000
commit9bd4181d7cdff6a94cc76ced30e3a2a50e8f7c42 (patch)
tree765438ba43125fd2c62e539b9d5be18c268dbbd3 /src
parentca89fd3654925679eef32536b6e702bd91086e7a (diff)
downloademacs-9bd4181d7cdff6a94cc76ced30e3a2a50e8f7c42.tar.gz
(w32_read_socket): Need to erase background
immediately before repainting exposed region.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c2
1 files changed, 2 insertions, 0 deletions
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,