Paul Vriens : shell32/tests: Compare instead of assign.

Alexandre Julliard julliard at winehq.org
Wed Oct 8 08:32:47 CDT 2008


Module: wine
Branch: master
Commit: 3d8180a2fc022a598b2eb074fbdb51b92420a508
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3d8180a2fc022a598b2eb074fbdb51b92420a508

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Wed Oct  8 08:55:08 2008 +0200

shell32/tests: Compare instead of assign.

---

 dlls/shell32/tests/appbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index 9991fe2..af7c5f2 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -335,7 +335,7 @@ static void test_setpos(void)
 
     do_events_until(got_expected_bottom);
 
-    ok(windows[1].allocated_rect.bottom = expected_bottom, "windows[1]'s bottom is %i, expected %i\n", windows[1].allocated_rect.bottom, expected_bottom);
+    ok(windows[1].allocated_rect.bottom == expected_bottom, "windows[1]'s bottom is %i, expected %i\n", windows[1].allocated_rect.bottom, expected_bottom);
 
     test_window_rects(1, 2);
 




More information about the wine-cvs mailing list