gdi32: Constify some variables (1 of 2)
Andrew Talbot
Andrew.Talbot at talbotville.com
Sun Apr 29 07:17:26 CDT 2007
Changelog:
gdi32: Constify some variables.
diff -urN a/dlls/gdi32/brush.c b/dlls/gdi32/brush.c
--- a/dlls/gdi32/brush.c 2006-11-17 17:51:14.000000000 +0000
+++ b/dlls/gdi32/brush.c 2007-04-29 12:04:14.000000000 +0100
@@ -57,7 +57,7 @@
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 -urN a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c
--- a/dlls/gdi32/enhmetafile.c 2006-11-17 17:51:14.000000000 +0000
+++ b/dlls/gdi32/enhmetafile.c 2007-04-29 12:33:32.000000000 +0100
@@ -516,7 +516,7 @@
#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;
More information about the wine-patches
mailing list