summaryrefslogtreecommitdiff
path: root/frontends/amiga/corewindow.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
commit97010ecef521de524846734e093db89a18f81f62 (patch)
tree03e7f949b32cd4d4c8e643278477b4a6ac63c84c /frontends/amiga/corewindow.c
parentc5a07fac76313c2d2d6348dee20d881a639c40c8 (diff)
downloadnetsurf-97010ecef521de524846734e093db89a18f81f62.tar.gz
netsurf-97010ecef521de524846734e093db89a18f81f62.tar.bz2
Make screen pointer accesible through an accessor function only
Diffstat (limited to 'frontends/amiga/corewindow.c')
-rw-r--r--frontends/amiga/corewindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c
index 627d3286e..7ab6e8e14 100644
--- a/frontends/amiga/corewindow.c
+++ b/frontends/amiga/corewindow.c
@@ -587,6 +587,7 @@ static void
ami_cw_drag_end(struct ami_corewindow *ami_cw, int x, int y)
{
if(ami_cw->dragging == false) return;
+ struct Screen *scrn = ami_gui_get_screen();
switch(ami_cw->drag_status) {
case CORE_WINDOW_DRAG_SELECTION: