0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

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.
This commit is contained in:
Bram Moolenaar
2023-05-09 15:00:00 +01:00
parent dda01c05c2
commit c9471b1872
9 changed files with 17 additions and 11 deletions

View File

@@ -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;
}