comctl32: Make some data const

Dmitry Timoshkov dmitry at codeweavers.com
Wed Nov 29 04:04:40 CST 2006


Hello,

Changelog:
    comctl32: Make some data const.

---
 dlls/comctl32/rebar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 58d573d..b305863 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -295,7 +295,7 @@ static LRESULT REBAR_NotifyFormat(REBAR_
 static UINT mindragx = 0;
 static UINT mindragy = 0;
 
-static const char *band_stylename[] = {
+static const char * const band_stylename[] = {
     "RBBS_BREAK",              /* 0001 */
     "RBBS_FIXEDSIZE",          /* 0002 */
     "RBBS_CHILDEDGE",          /* 0004 */
@@ -307,7 +307,7 @@ static const char *band_stylename[] = {
     "RBBS_NOGRIPPER",          /* 0100 */
     NULL };
 
-static const char *band_maskname[] = {
+static const char * const band_maskname[] = {
     "RBBIM_STYLE",         /*    0x00000001 */
     "RBBIM_COLORS",        /*    0x00000002 */
     "RBBIM_TEXT",          /*    0x00000004 */
-- 
1.4.2






More information about the wine-patches mailing list