From c9471b18728b1b37c04845ca2bc59fc981308b2d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 9 May 2023 15:00:00 +0100 Subject: patch 9.0.1529: code style test doesn't check for space after "if" Problem: Code style test doesn't check for space after "if". Solution: Add a test for space. --- src/gui_w32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui_w32.c') diff --git a/src/gui_w32.c b/src/gui_w32.c index 7a1203266e..8e36f8d5a9 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -8736,7 +8736,7 @@ test_gui_w32_sendevent_keyboard(dict_T *args) // If there are modifiers in the args, and it is not a keyup event and // vkCode is not a modifier key, then we generate virtual modifier key // messages before sending the actual key message. - if(mods && STRICMP(event, "keydown") == 0 && !isModKey) + if (mods && STRICMP(event, "keydown") == 0 && !isModKey) { int n = 0; if (mods & MOD_MASK_SHIFT) @@ -8769,7 +8769,7 @@ test_gui_w32_sendevent_keyboard(dict_T *args) if (STRICMP(event, "keyup") == 0) { inputs[0].ki.dwFlags = KEYEVENTF_KEYUP; - if(!isModKey) + if (!isModKey) unwrapMods = TRUE; } -- cgit v1.2.3