d3d8: Fix typo in test.

Huw Davies huw at codeweavers.com
Thu Jun 19 10:26:52 CDT 2008


Fixes Valgrind warning:

 Conditional jump or move depends on uninitialised value(s)
    at  IsRectEmpty (uitools.c:1282)
    by  IntersectRect (uitools.c:1331)
    by  IWineD3DDeviceImpl_ClearSurface (device.c:5084)
    by  IWineD3DDeviceImpl_Clear (device.c:5155)
    by  IDirect3DDevice8Impl_Clear (device.c:895)
    by  clear_test (visual.c:309)
    by  func_visual (visual.c:1338)
    by  run_test (test.h:449)
    by  main (test.h:498)
  Uninitialised value was created by a stack allocation
    at  clear_test (visual.c:277)
---
 dlls/d3d8/tests/visual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0c975058188f003b8018ee3cdb6a5c8f3e843bcb.diff
Type: text/x-patch
Size: 491 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080619/dabac26d/attachment.bin 


More information about the wine-patches mailing list