mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-25 15:59:36 +03:00
Formatting.
This commit is contained in:
parent
b937ed1d8d
commit
bf3ed6a67f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user