Module: wine Branch: master Commit: d747c41cd5b8739db32141f4c10e00152d001a8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=d747c41cd5b8739db32141f4c1...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Jan 5 18:17:50 2009 +0100
mshtml: Fixed IOmNavigator::get_platform for win64 platform.
---
dlls/mshtml/omnavigator.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/omnavigator.c b/dlls/mshtml/omnavigator.c index 9ea6df8..5bb7a8d 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; }