Commit 5090c22e authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

d3d8/tests: Fix copy&paste issue in compare_mode (cppcheck).

parent 1798864e
......@@ -1281,7 +1281,7 @@ static int compare_mode(const void *a, const void *b)
const struct mode *mode_a = a;
const struct mode *mode_b = b;
unsigned int w = mode_a->w - mode_b->w;
unsigned int h = mode_b->h - mode_b->h;
unsigned int h = mode_a->h - mode_b->h;
return abs(w) >= abs(h) ? -w : -h;
}
......
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