Lei Zhang : comctl32: Fix the updown control test to use the optional flag.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 23 06:18:29 CST 2007


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

Author: Lei Zhang <thestig at google.com>
Date:   Mon Jan 22 13:20:57 2007 -0800

comctl32: Fix the updown control test to use the optional flag.

---

 dlls/comctl32/tests/updown.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/tests/updown.c b/dlls/comctl32/tests/updown.c
index 9a9c493..7caa0b3 100644
--- a/dlls/comctl32/tests/updown.c
+++ b/dlls/comctl32/tests/updown.c
@@ -282,6 +282,8 @@ static void ok_sequence_(int sequence_in
             expected++;
             actual++;
         }
+        else if (expected->flags & optional)
+            expected++;
         else if (todo)
         {
             failcount++;




More information about the wine-cvs mailing list