Hans Leidekker : usp10: Fully initialize LOGFONT structure.

Alexandre Julliard julliard at winehq.org
Fri Nov 9 07:44:11 CST 2007


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

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Thu Nov  8 19:18:14 2007 +0100

usp10: Fully initialize LOGFONT structure.

---

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

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 052a0f4..1aba6db 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -1217,7 +1217,7 @@ START_TEST(usp10)
     hdc = GetDC(hwnd);                                      /* We now have a hdc             */
     ok( hdc != NULL, "HDC failed to be created %p\n", hdc);
 
-    memset(&lf, 0, sizeof(HFONT));
+    memset(&lf, 0, sizeof(LOGFONTA));
     lstrcpyA(lf.lfFaceName, "Symbol");
     lf.lfHeight = 10;
     lf.lfWeight = 3;




More information about the wine-cvs mailing list