diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-09 15:00:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-09 15:00:00 +0100 |
commit | c9471b18728b1b37c04845ca2bc59fc981308b2d (patch) | |
tree | dafcc679138813e74a19d656f7a582d36e9d3ea3 /src/gui_w32.c | |
parent | dda01c05c2ded3f0d11703bd983a19b6ca7d5055 (diff) |
patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529
Problem: Code style test doesn't check for space after "if".
Solution: Add a test for space.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |