summaryrefslogtreecommitdiff
path: root/amiga/clipboard.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:38:38 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:38:38 +0000
commit36518319637ba29c76a2c00d264e85267f1b5968 (patch)
treeb5424580517e0d3fc3d9a387522276fb46afb882 /amiga/clipboard.c
parent008c5da9bac55cbe10aad7c2e9b0e5a27c64bab4 (diff)
downloadnetsurf-36518319637ba29c76a2c00d264e85267f1b5968.tar.gz
netsurf-36518319637ba29c76a2c00d264e85267f1b5968.tar.bz2
Fix up Amiga front end.
svn path=/trunk/netsurf/; revision=12601
Diffstat (limited to 'amiga/clipboard.c')
-rwxr-xr-xamiga/clipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/clipboard.c b/amiga/clipboard.c
index ed745c417..dd566edb8 100755
--- a/amiga/clipboard.c
+++ b/amiga/clipboard.c
@@ -90,7 +90,7 @@ void gui_start_selection(struct gui_window *g)
OnMenu(g->shared->win, AMI_MENU_CLEAR);
OnMenu(g->shared->win, AMI_MENU_COPY);
- if(selection_read_only(g->shared->bw->sel) == false)
+ if(selection_read_only(browser_window_get_selection(g->shared->bw)) == false)
OnMenu(g->shared->win, AMI_MENU_CUT);
}
@@ -302,7 +302,7 @@ struct ami_text_selection *ami_selection_to_text(struct gui_window_2 *gwin)
sel = AllocVec(sizeof(struct ami_text_selection),
MEMF_PRIVATE | MEMF_CLEAR);
- if(sel) selection_traverse(gwin->bw->sel, ami_copy_selection, sel);
+ if(sel) selection_traverse(browser_window_get_selection(gwin->bw), ami_copy_selection, sel);
return sel;
}