Dmitry Timoshkov : comctl32: Make some data const.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 29 07:24:17 CST 2006


Module: wine
Branch: master
Commit: bd53138fc8fe6681a1ea9dbe79ea6b0914e3b09c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bd53138fc8fe6681a1ea9dbe79ea6b0914e3b09c

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Nov 29 18:04:40 2006 +0800

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 */




More information about the wine-cvs mailing list