From cd28d4179523d388361fec7a17cef3333df6a81f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 23:19:58 +0100 Subject: More fixing. --- amiga/context_menu.c | 10 +++++----- 1 file 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; } -- cgit v1.2.3