Dmitry Timoshkov : user32/tests: Fix text drawing tests compilation with __WINESRC__ defined.
Alexandre Julliard
julliard at winehq.org
Thu Oct 24 13:18:55 CDT 2013
Module: wine
Branch: master
Commit: 4734bd9edbabd0608676c4bd909c2e899775263b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4734bd9edbabd0608676c4bd909c2e899775263b
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Oct 23 14:54:20 2013 +0900
user32/tests: Fix text drawing tests compilation with __WINESRC__ defined.
---
dlls/user32/tests/text.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/user32/tests/text.c b/dlls/user32/tests/text.c
index 1874b15..217baab 100644
--- a/dlls/user32/tests/text.c
+++ b/dlls/user32/tests/text.c
@@ -675,23 +675,23 @@ static void test_DrawState(void)
assert(hdc);
SetLastError(0xdeadbeef);
- ret = DrawState(hdc, GetStockObject(DKGRAY_BRUSH), NULL, (LPARAM)text, strlen(text),
+ ret = DrawStateA(hdc, GetStockObject(DKGRAY_BRUSH), NULL, (LPARAM)text, strlen(text),
0, 0, 10, 10, DST_TEXT);
ok(ret, "DrawState error %u\n", GetLastError());
SetLastError(0xdeadbeef);
- ret = DrawState(hdc, GetStockObject(DKGRAY_BRUSH), NULL, (LPARAM)text, 0,
+ ret = DrawStateA(hdc, GetStockObject(DKGRAY_BRUSH), NULL, (LPARAM)text, 0,
0, 0, 10, 10, DST_TEXT);
ok(ret, "DrawState error %u\n", GetLastError());
SetLastError(0xdeadbeef);
- ret = DrawState(hdc, GetStockObject(DKGRAY_BRUSH), NULL, 0, strlen(text),
+ ret = DrawStateA(hdc, GetStockObject(DKGRAY_BRUSH), NULL, 0, strlen(text),
0, 0, 10, 10, DST_TEXT);
ok(!ret || broken(ret) /* win98 */, "DrawState succeeded\n");
ok(GetLastError() == 0xdeadbeef, "not expected error %u\n", GetLastError());
SetLastError(0xdeadbeef);
- ret = DrawState(hdc, GetStockObject(DKGRAY_BRUSH), NULL, 0, 0,
+ ret = DrawStateA(hdc, GetStockObject(DKGRAY_BRUSH), NULL, 0, 0,
0, 0, 10, 10, DST_TEXT);
ok(!ret || broken(ret) /* win98 */, "DrawState succeeded\n");
ok(GetLastError() == 0xdeadbeef, "not expected error %u\n", GetLastError());
More information about the wine-cvs
mailing list