Commit b6e87cd4 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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

parent a514aa76
......@@ -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])
{
......
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