Dmitry Timoshkov : shdocvw: Make some data const.

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


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

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

shdocvw: Make some data const.

---

 dlls/shdocvw/navigate.c |    4 ++--
 dlls/shdocvw/regsvr.c   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c
index b57df99..dcbbb24 100644
--- a/dlls/shdocvw/navigate.c
+++ b/dlls/shdocvw/navigate.c
@@ -46,13 +46,13 @@ typedef struct {
 
 static void dump_BINDINFO(BINDINFO *bi)
 {
-    static const char *BINDINFOF_str[] = {
+    static const char * const BINDINFOF_str[] = {
         "#0",
         "BINDINFOF_URLENCODESTGMEDDATA",
         "BINDINFOF_URLENCODEDEXTRAINFO"
     };
 
-    static const char *BINDVERB_str[] = {
+    static const char * const BINDVERB_str[] = {
         "BINDVERB_GET",
         "BINDVERB_POST",
         "BINDVERB_PUT",
diff --git a/dlls/shdocvw/regsvr.c b/dlls/shdocvw/regsvr.c
index aca0250..c8cd814 100644
--- a/dlls/shdocvw/regsvr.c
+++ b/dlls/shdocvw/regsvr.c
@@ -731,7 +731,7 @@ static HRESULT register_typelib(void)
     ITypeLib *typelib;
     HRESULT hres;
 
-    static WCHAR wszSHDocVw[] = {'s','h','d','o','c','v','w','.','d','l','l',0};
+    static const WCHAR wszSHDocVw[] = {'s','h','d','o','c','v','w','.','d','l','l',0};
 
     hres = LoadTypeLibEx(wszSHDocVw, REGKIND_REGISTER, &typelib);
     if(FAILED(hres)) {




More information about the wine-cvs mailing list