Francois Gouget : mlang/tests: Avoid hardcoding the Unicode string literal lengths.

Alexandre Julliard julliard at winehq.org
Fri Dec 16 11:22:55 CST 2011


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Dec 16 13:07:26 2011 +0100

mlang/tests: Avoid hardcoding the Unicode string literal lengths.

---

 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 65244bb..7ff4ec3 100644
--- a/dlls/mlang/tests/mlang.c
+++ b/dlls/mlang/tests/mlang.c
@@ -809,7 +809,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;
 




More information about the wine-cvs mailing list