Module: wine Branch: master Commit: 77c1856d43042958dd1e36c59ddd79c0f81a392d URL: http://source.winehq.org/git/wine.git/?a=commit;h=77c1856d43042958dd1e36c59d...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 24 18:22:29 2012 +0200
gdi32: Remove an unused DC field.
---
dlls/gdi32/dc.c | 4 +--- dlls/gdi32/gdi_private.h | 1 - 2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/dc.c b/dlls/gdi32/dc.c index 7d70bf4..030304c 100644 --- a/dlls/gdi32/dc.c +++ b/dlls/gdi32/dc.c @@ -351,7 +351,6 @@ INT nulldrv_SaveDC( PHYSDEV dev ) newdc->hBrush = dc->hBrush; newdc->hFont = dc->hFont; newdc->hBitmap = dc->hBitmap; - newdc->hDevice = dc->hDevice; newdc->hPalette = dc->hPalette; newdc->ROPmode = dc->ROPmode; newdc->polyFillMode = dc->polyFillMode; @@ -417,7 +416,7 @@ INT nulldrv_SaveDC( PHYSDEV dev )
/*********************************************************************** - * restore_dc_state + * nulldrv_RestoreDC */ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level ) { @@ -437,7 +436,6 @@ BOOL nulldrv_RestoreDC( PHYSDEV dev, INT level ) if (!PATH_RestorePath( dc, dcs )) return FALSE;
dc->layout = dcs->layout; - dc->hDevice = dcs->hDevice; dc->ROPmode = dcs->ROPmode; dc->polyFillMode = dcs->polyFillMode; dc->stretchBltMode = dcs->stretchBltMode; diff --git a/dlls/gdi32/gdi_private.h b/dlls/gdi32/gdi_private.h index 806ca35..792a9e4 100644 --- a/dlls/gdi32/gdi_private.h +++ b/dlls/gdi32/gdi_private.h @@ -100,7 +100,6 @@ typedef struct tagDC HBRUSH hBrush; HFONT hFont; HBITMAP hBitmap; - HANDLE hDevice; HPALETTE hPalette;
GdiFont *gdiFont;