dinput: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-11-07 21:47:31 +01:00 committed by Alexandre Julliard
parent 27947d2662
commit 84fb23f476
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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)