mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
ole32/tests: Don't crash on NT4.
This commit is contained in:
parent
d560b7bbb0
commit
a9c3d6f207
@ -158,9 +158,9 @@ static void test_marshal_HGLOBAL(void)
|
||||
|
||||
static HENHMETAFILE create_emf(void)
|
||||
{
|
||||
RECT rect = {0, 0, 100, 100};
|
||||
const RECT rect = {0, 0, 100, 100};
|
||||
HDC hdc = CreateEnhMetaFile(NULL, NULL, &rect, "HENHMETAFILE Marshaling Test\0Test\0\0");
|
||||
ExtTextOut(hdc, 0, 0, ETO_OPAQUE, NULL, "Test String", strlen("Test String"), NULL);
|
||||
ExtTextOut(hdc, 0, 0, ETO_OPAQUE, &rect, "Test String", strlen("Test String"), NULL);
|
||||
return CloseEnhMetaFile(hdc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user