diff --git a/s/Wimp03 b/s/Wimp03 index 3a0fbe79e77d487b4501c197eeb162c12f74adc8..8e0a052a722cf1e6e4d2a5b66c27a4ac535b9900 100644 --- a/s/Wimp03 +++ b/s/Wimp03 @@ -1998,8 +1998,9 @@ cantchange ; obtain 'button type' of user icon ; 01 CMP R4,#nullptr - LDREQ R5,[handle,#w_workflags]; look up work area button type - LDRNE R5,[handle,#w_icons] + Abs R14,R3 + LDREQ R5,[R14,#w_workflags] ; look up work area button type + LDRNE R5,[R14,#w_icons] ADDNE R5,R5,#i_flags LDRNE R5,[R5,R4,ASL #i_shift] ; R5 = flag word ;