diff options
| -rw-r--r-- | wintable/accessibility.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wintable/accessibility.h b/wintable/accessibility.h index 39e9cf1..7af7390 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -89,6 +89,8 @@ static ULONG STDMETHODCALLTYPE tableAccRelease(IAccessible *this) if (TA->refcount == 0) { struct tableAcc *prev, *next; + if (TA->t != NULL && TA->t->firstAcc == TA) + TA->t->firstAcc = TA->next; prev = TA->prev; next = TA->next; if (prev != NULL) |
