From 2b7c7abb484e57496462fcdc891578be60fef92a Mon Sep 17 00:00:00 2001 From: Daneel Date: Wed, 4 Mar 2026 13:37:39 +0100 Subject: [PATCH] patches: fix if-block indentation in 0008 (B5 fix cleanup) The B5 goto-replacement introduced indentation inconsistency: opening/closing braces were at tab+2, body at 6 spaces. The original code (ns_ax_face_is_selected deletion) used tab for braces and tab+2 for body. Align the new if-block to match existing style: - Opening brace: tab (was tab+2) - Body lines (int selected_line, NSString *candidate, if(candidate)): tab+2 (was 6 spaces after partial fix) - Continuation of NSString declaration: tab+4 (was tab) - Closing brace: tab (was tab+2) --- ...-child-frame-completion-candidates-for-Vo.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 af76233..043cd43 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 @@ -433,7 +433,7 @@ index c9fe93a57b..f7574efb39 100644 + postEchoAreaAnnouncementIfNeeded (called from postAccessibilityUpdates + before this per-element loop) so that they are never lost to a + concurrent tree rebuild. For the inactive minibuffer (minibuf_level -+ == 0), skip normal cursor and completion processing — there is no ++ == 0), skip normal cursor and completion processing --- there is no + meaningful cursor to track. */ + if (MINI_WINDOW_P (w) && minibuf_level == 0) + return; @@ -478,13 +478,13 @@ index c9fe93a57b..f7574efb39 100644 + characters inaudible. VoiceOver should read the overlay + candidate only when the user navigates (C-n/C-p), not types. */ + if (MINI_WINDOW_P (w) && !didTextChange) -+ { ++ { + -+ int selected_line = -1; -+ NSString *candidate -+ = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b), ++ int selected_line = -1; ++ NSString *candidate ++ = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b), + &selected_line); -+ if (candidate) ++ if (candidate) { - int selected_line = -1; - NSString *candidate @@ -536,7 +536,7 @@ index c9fe93a57b..f7574efb39 100644 + annInfo); } } -+ } ++ } } /* --- Cursor moved or selection changed ---