Skip to content

Commit

Permalink
dinput/tests: Drop superfluous TRUE : FALSE conditional expressions.
Browse files Browse the repository at this point in the history
(cherry picked from commit 567e35c)
CW-Bug-Id: #22257
  • Loading branch information
mstefani authored and rbernon committed May 23, 2023
1 parent f4e4d70 commit f458252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlls/dinput/tests/force_feedback.c
Original file line number Diff line number Diff line change
Expand Up @@ -2950,7 +2950,7 @@ static BOOL test_force_feedback_joystick( DWORD version )
.expect_count = version < 0x700 ? ARRAY_SIZE(expect_objects_5) : ARRAY_SIZE(expect_objects),
.expect_objs = version < 0x700 ? expect_objects_5 : expect_objects,
.todo_objs = version < 0x700 ? todo_objects_5 : NULL,
.todo_extra = version < 0x700 ? TRUE : FALSE,
.todo_extra = version < 0x700,
};
struct check_effects_params check_effects_params =
{
Expand Down
2 changes: 1 addition & 1 deletion dlls/dinput/tests/joystick8.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ static void test_simple_joystick( DWORD version )
.expect_count = version < 0x700 ? ARRAY_SIZE(expect_objects_5) : ARRAY_SIZE(expect_objects),
.expect_objs = version < 0x700 ? expect_objects_5 : expect_objects,
.todo_objs = version < 0x700 ? todo_objects_5 : NULL,
.todo_extra = version < 0x700 ? TRUE : FALSE,
.todo_extra = version < 0x700,
};

const DIEFFECTINFOW expect_effects[] = {};
Expand Down

0 comments on commit f458252

Please sign in to comment.