From 7bdba1b63a522835304921681e42d006e3714106 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sun, 29 Apr 2007 13:17:26 +0100 Subject: [PATCH] gdi32: Constify some variables. --- dlls/gdi32/brush.c | 2 +- dlls/gdi32/enhmetafile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/brush.c b/dlls/gdi32/brush.c index 8e636aeeaaa..f8f48472027 100644 --- a/dlls/gdi32/brush.c +++ b/dlls/gdi32/brush.c @@ -57,7 +57,7 @@ static const struct gdi_obj_funcs brush_funcs = BRUSH_DeleteObject /* pDeleteObject */ }; -static HGLOBAL16 dib_copy(BITMAPINFO *info, UINT coloruse) +static HGLOBAL16 dib_copy(const BITMAPINFO *info, UINT coloruse) { BITMAPINFO *newInfo; HGLOBAL16 hmem; diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c index 5c1294fc23a..c822b28b904 100644 --- a/dlls/gdi32/enhmetafile.c +++ b/dlls/gdi32/enhmetafile.c @@ -516,7 +516,7 @@ typedef struct enum_emh_data #define IS_WIN9X() (GetVersion()&0x80000000) -static void EMF_Update_MF_Xform(HDC hdc, enum_emh_data *info) +static void EMF_Update_MF_Xform(HDC hdc, const enum_emh_data *info) { XFORM mapping_mode_trans, final_trans; FLOAT scaleX, scaleY;