summaryrefslogtreecommitdiffstats
path: root/xup/xup.c
diff options
context:
space:
mode:
Diffstat (limited to 'xup/xup.c')
-rw-r--r--xup/xup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 8d9dc41f..830b0f12 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -1129,7 +1129,10 @@ process_server_paint_rect_shmem(struct mod *mod, struct stream *s)
in_uint16_le(s, height);
in_sint16_le(s, srcx);
in_sint16_le(s, srcy);
+
bmpdata = 0;
+ rv = 0;
+
if (flags == 0) /* screen */
{
if (mod->screen_shmem_id == 0)