mshtml: Fixed IOmNavigator::get_platform for win64 platform.

This commit is contained in:
Jacek Caban 2009-01-05 18:17:50 +01:00 committed by Alexandre Julliard
parent a2ac4d2323
commit d747c41cd5

View File

@ -251,11 +251,15 @@ static HRESULT WINAPI OmNavigator_get_platform(IOmNavigator *iface, BSTR *p)
{
OmNavigator *This = OMNAVIGATOR_THIS(iface);
static const WCHAR win32W[] = {'W','i','n','3','2',0};
#ifdef _WIN64
static const WCHAR platformW[] = {'W','i','n','6','4',0};
#else
static const WCHAR platformW[] = {'W','i','n','3','2',0};
#endif
TRACE("(%p)->(%p)\n", This, p);
*p = SysAllocString(win32W);
*p = SysAllocString(platformW);
return S_OK;
}