From 2bd8eb8c0b468799109191e63e939ea7bd69f8a1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 2 Jan 2017 19:16:33 +0000 Subject: Fix sslcert redraw --- frontends/amiga/corewindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/amiga/corewindow.c') diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c index 052ddd689..38b980a28 100644 --- a/frontends/amiga/corewindow.c +++ b/frontends/amiga/corewindow.c @@ -223,12 +223,12 @@ ami_cw_redraw_rect(struct ami_corewindow *ami_cw, struct rect *r) if(((x + width) - tile_x) < tile_size_x) tile_w = (x + width) - tile_x; - draw_rect.x0 = - tile_x; - draw_rect.y0 = - tile_y; + draw_rect.x0 = tile_x; // was - + draw_rect.y0 = tile_y; // was - draw_rect.x1 = tile_x + tile_w; draw_rect.y1 = tile_y + tile_h; - ami_cw->draw(ami_cw, &draw_rect, &ctx); + ami_cw->draw(ami_cw, -tile_x, -tile_y, &draw_rect, &ctx); #ifdef __amigaos4__ BltBitMapTags(BLITA_SrcType, BLITT_BITMAP, -- cgit v1.2.3