mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
dinput: Use BOOL type where appropriate.
This commit is contained in:
parent
27947d2662
commit
84fb23f476
@ -57,7 +57,7 @@ struct LinuxInputEffectImpl
|
||||
|
||||
struct ff_effect effect; /* Effect data */
|
||||
int gain; /* Effect gain */
|
||||
int first_axis_is_x;
|
||||
BOOL first_axis_is_x;
|
||||
int* fd; /* Parent device */
|
||||
struct list *entry; /* Entry into the parent's list of effects */
|
||||
};
|
||||
|
@ -184,7 +184,7 @@ static void find_joydevs(void)
|
||||
char buf[MAX_PATH];
|
||||
struct JoyDev joydev = {0};
|
||||
int fd;
|
||||
int no_ff_check = 0;
|
||||
BOOL no_ff_check = FALSE;
|
||||
int j;
|
||||
struct JoyDev *new_joydevs;
|
||||
struct input_id device_id = {0};
|
||||
@ -194,7 +194,7 @@ static void find_joydevs(void)
|
||||
if ((fd = open(buf, O_RDWR)) == -1)
|
||||
{
|
||||
fd = open(buf, O_RDONLY);
|
||||
no_ff_check = 1;
|
||||
no_ff_check = TRUE;
|
||||
}
|
||||
|
||||
if (fd == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user