Closed davidhewitt closed 4 years ago
Thanks for merging #37. Could I please ping for this one to be merged too, as it's also approved?
@bors-servo r+
:pushpin: Commit 52f59f2 has been approved by jdm
:hourglass: Testing commit 52f59f261cd5579dcaf9621cf3bfdc5371b2e38d with merge c2486e8db9ef1a6fb51b126ead34d392a5060d82...
:sunny: Test successful - status-appveyor Approved by: jdm Pushing c2486e8db9ef1a6fb51b126ead34d392a5060d82 to master...
According to the docs for IDWriteTextAnalysisSource (and my own testing of this PR) it is fine for the
GetNumberSubstitution
method to just returnS_OK
and set the pointer to null if no number substitution is needed.This simplifies downstream usage slightly for use cases which aren't concerned about number substitution (such as my own).