Skip to content

Commit cfce3f2

Browse files
committed
fixed confusing naming
1 parent b378c70 commit cfce3f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Desktop.Robot/Windows/Robot.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ public enum InputType : uint
171171

172172
public override void MouseScrollVertical(int value)
173173
{
174-
var input = new[]
174+
var inputs = new[]
175175
{
176176
new Input
177177
{
178178
Type = InputType.Mouse,
179179
MouseInputWithUnion = new MouseInput(value, MouseState.MouseWheelUpDown)
180180
}
181181
};
182-
var response = SendInput(1, input, Marshal.SizeOf(input));
182+
var response = SendInput(1, inputs, Marshal.SizeOf(inputs[0]));
183183
Debug.Assert(response == 0);
184184
}
185185
}

0 commit comments

Comments
 (0)