Commit a9c3d6f2 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ole32/tests: Don't crash on NT4.

parent d560b7bb
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment