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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user