Fix some failing tests.

diff --git a/dlls/user/edit.c b/dlls/user/edit.c
index b3573c0..f048d61 100644
--- a/dlls/user/edit.c
+++ b/dlls/user/edit.c
@@ -1457,7 +1457,7 @@
                             x_low = x_now;
                         }
                     }
-                    if (abs(x_high - x) <= abs(x_low - x) + 1)
+                    if (abs(x_high - x) + 1 <= abs(x_low - x))
                         index = high;
                     else
                         index = low;