mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-04 21:52:44 +00:00
Bug 172996. Acc Explorer getting stuck walking into accessible trees. r=jgaunt, sr=bzbarsky
This commit is contained in:
parent
8a20be1a77
commit
b7b6e92dd1
@ -799,7 +799,7 @@ Accessible::Next(ULONG aNumElementsRequested, VARIANT FAR* pvar, ULONG FAR* aNum
|
||||
for (long childIndex = 0; pvar[*aNumElementsFetched].vt == VT_DISPATCH; ++childIndex) {
|
||||
IAccessible *msaaAccessible = NS_STATIC_CAST(IAccessible*, pvar[*aNumElementsFetched].pdispVal);
|
||||
if (childIndex >= mEnumVARIANTPosition) {
|
||||
if ((*aNumElementsFetched)++ >= aNumElementsRequested)
|
||||
if (++*aNumElementsFetched >= aNumElementsRequested)
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user