Commit 3e610753 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

joy.cpl: Use the ARRAY_SIZE() macro.

parent 284e6619
......@@ -416,7 +416,7 @@ static DWORD WINAPI input_thread(void *param)
axes_pos[2][1] = state.lRz;
/* Set pov values */
for (j = 0; j < sizeof(pov_val)/sizeof(pov_val[0]); j++)
for (j = 0; j < ARRAY_SIZE(pov_val); j++)
{
if (state.rgdwPOV[0] == pov_val[j])
{
......
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