James Hawkins : riched20: Fix two typos that cause a failing test.
Alexandre Julliard
julliard at winehq.org
Tue Sep 9 05:50:34 CDT 2008
Module: wine
Branch: master
Commit: ce8e69d4b1d7525443f167b2dc18d8470c9518dd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce8e69d4b1d7525443f167b2dc18d8470c9518dd
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Mon Sep 8 17:24:25 2008 -0500
riched20: Fix two typos that cause a failing test.
---
dlls/riched20/tests/editor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index ea94019..41dce86 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -38,7 +38,7 @@ static CHAR string1[MAX_PATH], string2[MAX_PATH], string3[MAX_PATH];
WideCharToMultiByte(CP_ACP, 0, szString1, -1, string1, MAX_PATH, NULL, NULL); \
WideCharToMultiByte(CP_ACP, 0, szString2, -1, string2, MAX_PATH, NULL, NULL); \
WideCharToMultiByte(CP_ACP, 0, szString3, -1, string3, MAX_PATH, NULL, NULL); \
- ok(!lstrcmpW(szString3, szString1) || !lstrcmpW(szString3, szString1), \
+ ok(!lstrcmpW(szString3, szString1) || !lstrcmpW(szString3, szString2), \
format, string1, string2, string3);
static HMODULE hmoduleRichEdit;
@@ -3217,7 +3217,7 @@ static void test_EM_SETTEXTEX(void)
'm', 'e', 'T', 'e',
'x', 't', 0};
WCHAR TestItem1altn[] = {'T','T','e','s','t','S','o','m','e','T','e','x','t',
- '\n','t','S','o','m','e','T','e','x','t',0};
+ '\r','t','S','o','m','e','T','e','x','t',0};
WCHAR TestItem2[] = {'T', 'e', 's', 't',
'S', 'o', 'm', 'e',
'T', 'e', 'x', 't',
More information about the wine-cvs
mailing list