[RICHED20_WINETEST]

Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628
This commit is contained in:
Timo Kreuzer 2015-05-10 17:59:10 +00:00
parent f2b82513c2
commit fe491d1d3b

View file

@ -5423,8 +5423,8 @@ static void test_unicode_conversions(void)
#define set_textA(hwnd, wm_set_text, txt) \
do { \
SETTEXTEX stex = { ST_DEFAULT, CP_ACP }; \
UNREFERENCED_LOCAL_VARIABLE(stex); \
WPARAM wparam = (wm_set_text == WM_SETTEXT) ? 0 : (WPARAM)&stex; \
UNREFERENCED_LOCAL_VARIABLE(stex); \
assert(wm_set_text == WM_SETTEXT || wm_set_text == EM_SETTEXTEX); \
ret = SendMessageA(hwnd, wm_set_text, wparam, (LPARAM)txt); \
ok(ret, "SendMessageA(%02x) error %u\n", wm_set_text, GetLastError()); \
@ -5432,8 +5432,8 @@ static void test_unicode_conversions(void)
#define expect_textA(hwnd, wm_get_text, txt) \
do { \
GETTEXTEX gtex = { 64, GT_DEFAULT, CP_ACP, NULL, NULL }; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)&gtex; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
memset(bufA, 0xAA, sizeof(bufA)); \
ret = SendMessageA(hwnd, wm_get_text, wparam, (LPARAM)bufA); \
@ -5445,8 +5445,8 @@ static void test_unicode_conversions(void)
#define set_textW(hwnd, wm_set_text, txt) \
do { \
SETTEXTEX stex = { ST_DEFAULT, 1200 }; \
UNREFERENCED_LOCAL_VARIABLE(stex); \
WPARAM wparam = (wm_set_text == WM_SETTEXT) ? 0 : (WPARAM)&stex; \
UNREFERENCED_LOCAL_VARIABLE(stex); \
assert(wm_set_text == WM_SETTEXT || wm_set_text == EM_SETTEXTEX); \
ret = SendMessageW(hwnd, wm_set_text, wparam, (LPARAM)txt); \
ok(ret, "SendMessageW(%02x) error %u\n", wm_set_text, GetLastError()); \
@ -5454,8 +5454,8 @@ static void test_unicode_conversions(void)
#define expect_textW(hwnd, wm_get_text, txt) \
do { \
GETTEXTEX gtex = { 64, GT_DEFAULT, 1200, NULL, NULL }; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)&gtex; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
memset(bufW, 0xAA, sizeof(bufW)); \
ret = SendMessageW(hwnd, wm_get_text, wparam, (LPARAM)bufW); \
@ -5466,8 +5466,8 @@ static void test_unicode_conversions(void)
#define expect_empty(hwnd, wm_get_text) \
do { \
GETTEXTEX gtex = { 64, GT_DEFAULT, CP_ACP, NULL, NULL }; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
WPARAM wparam = (wm_get_text == WM_GETTEXT) ? 64 : (WPARAM)&gtex; \
UNREFERENCED_LOCAL_VARIABLE(gtex); \
assert(wm_get_text == WM_GETTEXT || wm_get_text == EM_GETTEXTEX); \
memset(bufA, 0xAA, sizeof(bufA)); \
ret = SendMessageA(hwnd, wm_get_text, wparam, (LPARAM)bufA); \