Skip to content

Commit

Permalink
fix: Correct broken UIA method implementation that was incompatible w…
Browse files Browse the repository at this point in the history
…ith Windows 11 ATs
  • Loading branch information
mwcampbell committed Dec 17, 2022
1 parent c626d2c commit bc9ea53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/windows/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,6 @@ impl ITextRangeProvider_Impl for PlatformRange {

fn GetChildren(&self) -> Result<*mut SAFEARRAY> {
// We don't support embedded objects in text.
Ok(std::ptr::null_mut())
Ok(safe_array_from_com_slice(&[]))
}
}

0 comments on commit bc9ea53

Please sign in to comment.