Module: wine Branch: master Commit: 21bcfd72b0a953099ec2223c4ed81a9bdd160190 URL: http://source.winehq.org/git/wine.git/?a=commit;h=21bcfd72b0a953099ec2223c4e...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Tue Nov 28 18:38:46 2006 +0800
user32: Make some data const.
---
dlls/user32/cursoricon.c | 2 +- dlls/user32/spy.c | 2 +- dlls/user32/static.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index 3b15b99..f4d861b 100644 --- a/dlls/user32/cursoricon.c +++ b/dlls/user32/cursoricon.c @@ -130,7 +130,7 @@ static CRITICAL_SECTION_DEBUG critsect_d }; static CRITICAL_SECTION IconCrst = { &critsect_debug, -1, 0, 0, 0, 0 };
-static WORD ICON_HOTSPOT = 0x4242; +static const WORD ICON_HOTSPOT = 0x4242;
/*********************************************************************** diff --git a/dlls/user32/spy.c b/dlls/user32/spy.c index d23d230..451b0b2 100644 --- a/dlls/user32/spy.c +++ b/dlls/user32/spy.c @@ -1567,7 +1567,7 @@ static const USER_MSG propsht_array[] = USM(PSM_SETTITLEW ,0), USM(PSM_SETFINISHTEXTW ,0), {0,0,0} }; -const WCHAR PropSheetInfoStr[] = +static const WCHAR PropSheetInfoStr[] = {'P','r','o','p','e','r','t','y','S','h','e','e','t','I','n','f','o',0 };
static const USER_MSG updown_array[] = { diff --git a/dlls/user32/static.c b/dlls/user32/static.c index 3c9292b..df35308 100644 --- a/dlls/user32/static.c +++ b/dlls/user32/static.c @@ -73,7 +73,7 @@ static COLORREF color_3dshadow, color_3d
typedef void (*pfPaint)( HWND hwnd, HDC hdc, DWORD style );
-static pfPaint staticPaintFunc[SS_TYPEMASK+1] = +static const pfPaint staticPaintFunc[SS_TYPEMASK+1] = { STATIC_PaintTextfn, /* SS_LEFT */ STATIC_PaintTextfn, /* SS_CENTER */