Marcus Meissner : gdi32: Fixed passed buffer size.
Alexandre Julliard
julliard at winehq.org
Mon Sep 10 15:22:09 CDT 2012
Module: wine
Branch: master
Commit: f5c5a30724a87b544ee933e198b3e1e07c3a4538
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5c5a30724a87b544ee933e198b3e1e07c3a4538
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Fri Sep 7 20:34:33 2012 +0200
gdi32: Fixed passed buffer size.
---
dlls/gdi32/tests/font.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 26d88ae..3f7af21 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -4037,7 +4037,7 @@ static void test_fullname(void)
bufA[0] = 0;
ret = get_ttf_nametable_entry(hdc, TT_NAME_ID_FULL_NAME, bufW, sizeof(bufW), TT_MS_LANGID_ENGLISH_UNITED_STATES);
ok(ret, "face full name could not be read\n");
- WideCharToMultiByte(CP_ACP, 0, bufW, -1, bufA, sizeof(bufW), NULL, FALSE);
+ WideCharToMultiByte(CP_ACP, 0, bufW, -1, bufA, sizeof(bufA), NULL, FALSE);
ok(!lstrcmpA(bufA, TestName[i]), "font full names don't match: %s != %s\n", TestName[i], bufA);
SelectObject(hdc, of);
DeleteObject(hfont);
More information about the wine-cvs
mailing list