Commit 1d5f0f41 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

shdocvw: Make some data const.

parent 1cdf5cdd
...@@ -46,13 +46,13 @@ typedef struct { ...@@ -46,13 +46,13 @@ typedef struct {
static void dump_BINDINFO(BINDINFO *bi) static void dump_BINDINFO(BINDINFO *bi)
{ {
static const char *BINDINFOF_str[] = { static const char * const BINDINFOF_str[] = {
"#0", "#0",
"BINDINFOF_URLENCODESTGMEDDATA", "BINDINFOF_URLENCODESTGMEDDATA",
"BINDINFOF_URLENCODEDEXTRAINFO" "BINDINFOF_URLENCODEDEXTRAINFO"
}; };
static const char *BINDVERB_str[] = { static const char * const BINDVERB_str[] = {
"BINDVERB_GET", "BINDVERB_GET",
"BINDVERB_POST", "BINDVERB_POST",
"BINDVERB_PUT", "BINDVERB_PUT",
......
...@@ -731,7 +731,7 @@ static HRESULT register_typelib(void) ...@@ -731,7 +731,7 @@ static HRESULT register_typelib(void)
ITypeLib *typelib; ITypeLib *typelib;
HRESULT hres; 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); hres = LoadTypeLibEx(wszSHDocVw, REGKIND_REGISTER, &typelib);
if(FAILED(hres)) { if(FAILED(hres)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment