Fix dlls/user32/tests/text.c
Gerald Pfeifer
gerald at pfeifer.com
Sun May 24 12:47:24 CDT 2009
It occurs to me that most of these tests have been bogus due to an
incorrect check being used throughout. Fixed thusly.
Gerald
ChangeLog:
Fix MODIFIED macro.
diff --git a/dlls/user32/tests/text.c b/dlls/user32/tests/text.c
index 47f5274..a55c014 100644
--- a/dlls/user32/tests/text.c
+++ b/dlls/user32/tests/text.c
@@ -27,7 +27,7 @@
#include "winuser.h"
#include "winerror.h"
-#define MODIFIED(rect) (rect.left = 10 && rect.right != 100 && rect.top == 10 && rect.bottom != 100)
+#define MODIFIED(rect) (rect.left == 10 && rect.right != 100 && rect.top == 10 && rect.bottom != 100)
#define SAME(rect) (rect.left = 10 && rect.right == 100 && rect.top == 10 && rect.bottom == 100)
#define EMPTY(rect) (rect.left == rect.right && rect.bottom == rect.top)
More information about the wine-patches
mailing list