summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index de6b64e9f..d36914ecf 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -418,14 +418,14 @@ ami_colour_option_from_pen(struct nsoption_s *opts,
if(pen == AMINS_SCROLLERPEN) pen = ami_system_colour_scrollbar_fgpen(drinfo);
/* Get the colour of the pen being used for "pen" */
- GetRGB32(screen->ViewPort.ColorMap, drinfo->dri_Pens[pen], 1, (ULONG *)&colour);
+ GetRGB32(scrn->ViewPort.ColorMap, drinfo->dri_Pens[pen], 1, (ULONG *)&colour);
/* convert it to a color */
def_colour = ((colour[0] & 0xff000000) >> 24) |
((colour[1] & 0xff000000) >> 16) |
((colour[2] & 0xff000000) >> 8);
- FreeScreenDrawInfo(screen, drinfo);
+ FreeScreenDrawInfo(scrn, drinfo);
}
}