shdocvw: Make some data const.
This commit is contained in:
parent
1cdf5cddac
commit
1d5f0f41f0
|
@ -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)
|
||||||
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)) {
|
||||||
|
|
Loading…
Reference in New Issue