From bf3ed6a67f85928dcfb82a5ea706e3ffed8357a2 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 6 Feb 2014 19:57:13 +0000 Subject: [PATCH] Formatting. --- amiga/context_menu.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 1aa8f7ac2..1e6da27ba 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -598,8 +598,8 @@ void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y) ctxmenuhook.h_SubEntry = NULL; ctxmenuhook.h_Data = gwin; - ctxmenuobj = NewObject( POPUPMENU_GetClass(), NULL, - PMA_MenuHandler, &ctxmenuhook, + ctxmenuobj = NewObject( POPUPMENU_GetClass(), NULL, + PMA_MenuHandler, &ctxmenuhook, TAG_DONE); if(gwin->bw && gwin->bw->history && @@ -707,7 +707,7 @@ void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y) static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved) { - int32 itemid = 0; + int32 itemid = 0; struct gui_window_2 *gwin = hook->h_Data; APTR userdata = NULL; struct browser_window *bw; @@ -718,10 +718,9 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved nsurl *url; nserror error; - if(GetAttrs(item,PMIA_ID,&itemid, - PMIA_UserData,&userdata, - TAG_DONE)) - { + if(GetAttrs(item, PMIA_ID, &itemid, + PMIA_UserData, &userdata, + TAG_DONE)) { switch(itemid) { case CMID_SELECTFILE: