mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
The OS3 build doesn't appear to like non-specific layout groups
This commit is contained in:
parent
73b158d27d
commit
15537aa2af
@ -5155,7 +5155,7 @@ Object *ami_gui_splash_open(void)
|
||||
WINDOW_Position, WPOS_CENTERSCREEN,
|
||||
WINDOW_LockWidth, TRUE,
|
||||
WINDOW_LockHeight, TRUE,
|
||||
WINDOW_ParentGroup, LayoutObject,
|
||||
WINDOW_ParentGroup, VGroupObject,
|
||||
LAYOUT_AddImage, bm_obj = BitMapObject,
|
||||
BITMAP_SourceFile, "PROGDIR:Resources/splash.png",
|
||||
BITMAP_Screen, wbscreen,
|
||||
|
@ -79,15 +79,18 @@ uint32 GetAttrs(Object *obj, Tag tag1, ...)
|
||||
va_list ap;
|
||||
Tag tag = tag1;
|
||||
ULONG data = 0;
|
||||
int i = 0;
|
||||
|
||||
va_start(ap, tag1);
|
||||
|
||||
while(tag != TAG_DONE) {
|
||||
data = va_arg(ap, ULONG);
|
||||
GetAttr(tag, obj, (void *)data);
|
||||
i += GetAttr(tag, obj, (void *)data);
|
||||
tag = va_arg(ap, Tag);
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
/* Utility */
|
||||
|
Loading…
Reference in New Issue
Block a user