[PATCH] gdi32/user32: Make __wine_make_gdi_object_system __cdecl

Maarten Lankhorst m.b.lankhorst at gmail.com
Tue Dec 16 08:38:49 CST 2008


---
 dlls/gdi32/gdiobj.c     |    2 +-
 dlls/user32/sysparams.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/gdiobj.c b/dlls/gdi32/gdiobj.c
index 5a72e3a..61c3d2f 100644
--- a/dlls/gdi32/gdiobj.c
+++ b/dlls/gdi32/gdiobj.c
@@ -442,7 +442,7 @@ static const struct DefaultFontInfo default_fonts[] =
  * For a description of the GDI object magics and their flags,
  * see "Undocumented Windows" (wrong about the OBJECT_NOSYSTEM flag, though).
  */
-void __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set)
+void __cdecl __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set)
 {
     GDIOBJHDR *ptr = GDI_GetObjPtr( handle, MAGIC_DONTCARE );
 
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index 5c3bec5..40e8027 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -368,7 +368,7 @@ static const WORD wPattern55AA[] = { 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xa
 
 HBRUSH SYSCOLOR_55AABrush = 0;
 
-extern void __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set );
+extern void __cdecl __wine_make_gdi_object_system( HGDIOBJ handle, BOOL set );
 
 
 /* This function is a copy of the one in objects/font.c */
-- 
1.5.6.5


--------------000002080907090704090705--



More information about the wine-patches mailing list