atl: Turn variable 'mshtml_prefixW' into a static constant.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-11-11 20:51:15 -07:00 committed by Alexandre Julliard
parent a514aa7653
commit b6e87cd48c
1 changed files with 1 additions and 1 deletions

View File

@ -1001,9 +1001,9 @@ enum content
static enum content get_content_type(LPCOLESTR name, CLSID *control_id)
{
static const WCHAR mshtml_prefixW[] = {'m','s','h','t','m','l',':',0};
WCHAR new_urlW[MAX_PATH];
DWORD size = MAX_PATH;
WCHAR mshtml_prefixW[] = {'m','s','h','t','m','l',':','\0'};
if (!name || !name[0])
{