• Robert Sprowson's avatar
    Fix for null pointer dereference & data abort on swapping to no toolsprites · d2b00489
    Robert Sprowson authored
    This specific case failed when the topmost window in the window stack (ie. the first to be attempted to be redrawn on reentering the desktop) had the focus and thus attempts to enable Ursula tinting.
    Though a check was made to see if the first sprite (from which the tint is derived) was present, no check was made to see if the tool_list was present => dereferenced NULL pointer.
    Retagged as Wimp-5_29.
Wimp02 316 KB