diff --git a/patches/0008-ns-announce-child-frame-completion-candidates-for-Vo.patch b/patches/0008-ns-announce-child-frame-completion-candidates-for-Vo.patch index 043cd43..748d430 100644 --- a/patches/0008-ns-announce-child-frame-completion-candidates-for-Vo.patch +++ b/patches/0008-ns-announce-child-frame-completion-candidates-for-Vo.patch @@ -485,16 +485,18 @@ index c9fe93a57b..f7574efb39 100644 + = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b), + &selected_line); + if (candidate) - { +- { ++ { - int selected_line = -1; - NSString *candidate - = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b), - &selected_line); - if (candidate) -+ /* Deduplicate: only announce when the candidate changed. */ -+ if (![candidate isEqualToString: -+ self.cachedCompletionAnnouncement]) - { ++ /* Deduplicate: only announce when the candidate changed. */ ++ if (![candidate isEqualToString: ++ self.cachedCompletionAnnouncement]) +- { ++ { - /* Deduplicate: only announce when the candidate changed. */ - if (![candidate isEqualToString: - self.cachedCompletionAnnouncement]) @@ -534,8 +536,10 @@ index c9fe93a57b..f7574efb39 100644 + NSApp, + NSAccessibilityAnnouncementRequestedNotification, + annInfo); - } - } +- } ++ } +- } ++ } + } }