mlang/tests: Avoid hardcoding the Unicode string literal lengths.
Francois Gouget
fgouget at free.fr
Fri Dec 16 06:07:26 CST 2011
---
dlls/mlang/tests/mlang.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mlang/tests/mlang.c b/dlls/mlang/tests/mlang.c
index 06c3714..51c149c 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -810,7 +810,7 @@ static void IMLangFontLink_Test(IMLangFontLink* iMLFL)
DWORD dwCodePages, dwManyCodePages;
DWORD dwCmpCodePages;
UINT CodePage;
- static const WCHAR str[3] = { 'd', 0x0436, 0xff90 };
+ static const WCHAR str[] = { 'd', 0x0436, 0xff90 };
LONG processed;
HRESULT ret;
--
1.7.7.3
More information about the wine-patches
mailing list