summaryrefslogtreecommitdiff
path: root/frontends/amiga/history.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2022-03-15 13:44:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2022-03-15 13:44:05 +0000
commitff05b6a4cb3b700d51a8e384aca483e134698801 (patch)
tree1558b0af1021e007860f9ffae18bfed6078b3b66 /frontends/amiga/history.c
parentfba1d54ccb38788defad17c5036200fe7cc81e5a (diff)
downloadnetsurf-ff05b6a4cb3b700d51a8e384aca483e134698801.tar.gz
netsurf-ff05b6a4cb3b700d51a8e384aca483e134698801.tar.bz2
Amiga: Th 3.2 NDK does not recognise NewObject unless extra brackets are added around all the Reaction macros
Diffstat (limited to 'frontends/amiga/history.c')
-rw-r--r--frontends/amiga/history.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/amiga/history.c b/frontends/amiga/history.c
index fd33a67f3..72349ea35 100644
--- a/frontends/amiga/history.c
+++ b/frontends/amiga/history.c
@@ -371,7 +371,7 @@ ami_history_global_create_window(struct ami_history_global_window *history_win)
refresh_mode = WA_SimpleRefresh;
}
- ami_cw->objects[GID_CW_WIN] = WindowObj,
+ ami_cw->objects[GID_CW_WIN] = (WindowObj,
WA_ScreenTitle, ami_gui_get_screen_title(),
WA_Title, ami_cw->wintitle,
WA_Activate, TRUE,
@@ -401,15 +401,15 @@ ami_history_global_create_window(struct ami_history_global_window *history_win)
WINDOW_MenuUserData, WGUD_HOOK,
WINDOW_IconifyGadget, FALSE,
WINDOW_Position, WPOS_CENTERSCREEN,
- WINDOW_ParentGroup, ami_cw->objects[GID_CW_MAIN] = LayoutVObj,
- LAYOUT_AddChild, ami_cw->objects[GID_CW_DRAW] = SpaceObj,
+ WINDOW_ParentGroup, ami_cw->objects[GID_CW_MAIN] = (LayoutVObj,
+ LAYOUT_AddChild, ami_cw->objects[GID_CW_DRAW] = (SpaceObj,
GA_ID, GID_CW_DRAW,
SPACE_Transparent, TRUE,
SPACE_BevelStyle, BVS_DISPLAY,
GA_RelVerify, TRUE,
- SpaceEnd,
- EndGroup,
- EndWindow;
+ SpaceEnd),
+ EndGroup),
+ EndWindow);
if(ami_cw->objects[GID_CW_WIN] == NULL) {
return NSERROR_NOMEM;