mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-08 20:12:01 +03:00
OS3 was not checking the GA_Disabled tag value
This commit is contained in:
parent
3f4bc9d284
commit
9eba271693
@ -405,9 +405,10 @@ ULONG RefreshSetGadgetAttrsA(struct Gadget *g, struct Window *w, struct Requeste
|
||||
ULONG retval;
|
||||
BOOL changedisabled = FALSE;
|
||||
BOOL disabled;
|
||||
struct TagItem *ti;
|
||||
|
||||
if (w) {
|
||||
if (FindTagItem(GA_Disabled,tags)) {
|
||||
if ((ti = FindTagItem(GA_Disabled,tags)) && (ti->ti_Data != FALSE)) {
|
||||
changedisabled = TRUE;
|
||||
disabled = g->Flags & GFLG_DISABLED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user