From d747c41cd5b8739db32141f4c10e00152d001a8b Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 5 Jan 2009 18:17:50 +0100 Subject: [PATCH] mshtml: Fixed IOmNavigator::get_platform for win64 platform. --- dlls/mshtml/omnavigator.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/omnavigator.c b/dlls/mshtml/omnavigator.c index 9ea6df83dfb..5bb7a8dfcee 100644 --- a/dlls/mshtml/omnavigator.c +++ b/dlls/mshtml/omnavigator.c @@ -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; }