Commit 84fb23f4 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dinput: Use BOOL type where appropriate.

parent 27947d26
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment