Skip to content

Commit

Permalink
chore: remove unused incremental traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
Bush2021 authored Jul 23, 2024
1 parent 58b0f68 commit 8a86f66
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/iaccessible.h
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,11 @@ bool IsOnBookmark(HWND hwnd, POINT pt) {
}
}
// traverse the child nodes.
long child_count = 0;
if (S_OK == child->get_accChildCount(&child_count) && child_count > 0) {
TraversalAccessible(child, LambdaEnumChild, 0);
}
TraversalAccessible(child, LambdaEnumChild);
return flag;
};
// Start traversing.
TraversalAccessible(pacc_main_window, LambdaEnumChild, 0);
TraversalAccessible(pacc_main_window, LambdaEnumChild);
return flag;
}

Expand Down

0 comments on commit 8a86f66

Please sign in to comment.