diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 23:19:58 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 23:19:58 +0100 |
commit | cd28d4179523d388361fec7a17cef3333df6a81f (patch) | |
tree | a4221e11df730fe5bbfe07c8f87241747d5fb3d4 | |
parent | d76e7db6fef96598713de096782468f042d519db (diff) | |
download | netsurf-cd28d4179523d388361fec7a17cef3333df6a81f.tar.gz netsurf-cd28d4179523d388361fec7a17cef3333df6a81f.tar.bz2 |
More fixing.
-rwxr-xr-x | amiga/context_menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 4213eb90e..a915e92e2 100755 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -124,7 +124,7 @@ enum { struct ami_file_input_menu_data { int x; int y; - struct browser_window bw; + struct browser_window *bw; }; struct Library *PopupMenuBase = NULL; @@ -679,10 +679,10 @@ void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y) if(ccdata.form_features == CTX_FORM_FILE) { struct ami_file_input_menu_data file_input = { - .x = x; - .y = y; - .bw = gwin->bw; - } + .x = x, + .y = y, + .bw = gwin->bw + }; ami_context_menu_add_submenu(ctxmenuobj, CMID_SELECTFILE, &file_input); menuhascontent = true; } |