Michael Stefaniuc : comctl32/tests: Make use of todo_wine_if().

Alexandre Julliard julliard at winehq.org
Thu Aug 4 17:20:19 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Aug  4 23:39:25 2016 +0200

comctl32/tests: Make use of todo_wine_if().

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/listview.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 811800c..ec87e3b 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -1830,9 +1830,7 @@ static LRESULT WINAPI cd_wndproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
                 clr = GetBkColor(nmlvcd->nmcd.hdc);
                 ok(nmlvcd->clrTextBk == CLR_DEFAULT, "got 0x%x\n", nmlvcd->clrTextBk);
                 ok(nmlvcd->clrText == RGB(0, 255, 0), "got 0x%x\n", nmlvcd->clrText);
-                if (nmlvcd->iSubItem)
-                    todo_wine ok(clr == c0ffee, "clr=%.8x\n", clr);
-                else
+                todo_wine_if(nmlvcd->iSubItem)
                     ok(clr == c0ffee, "clr=%.8x\n", clr);
                 return CDRF_NOTIFYPOSTPAINT;
             case CDDS_ITEMPOSTPAINT | CDDS_SUBITEM:




More information about the wine-cvs mailing list