From 056359cc4eddecb0aa3cfd1b459ee5ae93ecebe6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 16 Feb 2009 22:09:01 +0100 Subject: [PATCH] gdi32: SetAbortProc is not a 16bit function but a 32bit one. --- dlls/gdi32/printdrv.c | 15 +++++++++++++++ dlls/gdi32/printdrv16.c | 14 -------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/dlls/gdi32/printdrv.c b/dlls/gdi32/printdrv.c index 7d2cb426f9..18f9db7fc5 100644 --- a/dlls/gdi32/printdrv.c +++ b/dlls/gdi32/printdrv.c @@ -197,3 +197,18 @@ INT WINAPI AbortDoc(HDC hdc) release_dc_ptr( dc ); return ret; } + + +/********************************************************************** + * SetAbortProc (GDI32.@) + * + */ +INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc) +{ + DC *dc = get_dc_ptr( hdc ); + + if (!dc) return FALSE; + dc->pAbortProc = abrtprc; + release_dc_ptr( dc ); + return TRUE; +} diff --git a/dlls/gdi32/printdrv16.c b/dlls/gdi32/printdrv16.c index 03043c114b..e7954eedab 100644 --- a/dlls/gdi32/printdrv16.c +++ b/dlls/gdi32/printdrv16.c @@ -122,20 +122,6 @@ INT16 WINAPI SetAbortProc16(HDC16 hdc16, ABORTPROC16 abrtprc) return TRUE; } -/********************************************************************** - * SetAbortProc (GDI32.@) - * - */ -INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc) -{ - DC *dc = get_dc_ptr( hdc ); - - if (!dc) return FALSE; - dc->pAbortProc = abrtprc; - release_dc_ptr( dc ); - return TRUE; -} - /****************** misc. printer related functions */