Andrew Talbot : gdi32: Constify some variables.
Module: wine Branch: master Commit: 7bdba1b63a522835304921681e42d006e3714106 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7bdba1b63a522835304921681e... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Sun Apr 29 13:17:26 2007 +0100 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 8e636ae..f8f4847 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 5c1294f..c822b28 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;
participants (1)
-
Alexandre Julliard