Paul Vriens : ole32/tests: Don't crash on NT4.
Alexandre Julliard
julliard at winehq.org
Tue Nov 11 08:35:38 CST 2008
Module: wine
Branch: master
Commit: a9c3d6f20729c3ea6067431150387f01da2a6e2b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9c3d6f20729c3ea6067431150387f01da2a6e2b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Nov 11 07:48:04 2008 +0100
ole32/tests: Don't crash on NT4.
---
dlls/ole32/tests/usrmarshal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/tests/usrmarshal.c b/dlls/ole32/tests/usrmarshal.c
index 60e85cf..087d5cb 100644
--- a/dlls/ole32/tests/usrmarshal.c
+++ b/dlls/ole32/tests/usrmarshal.c
@@ -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);
}
More information about the wine-cvs
mailing list