shdocvw: Make some data const.

This commit is contained in:
Dmitry Timoshkov 2006-11-29 18:03:30 +08:00 committed by Alexandre Julliard
parent 1cdf5cddac
commit 1d5f0f41f0
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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)) {