Module: wine Branch: master Commit: 0baf5aa0005b6977f897fc5024605a729f497e44 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0baf5aa0005b6977f897fc5024...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Apr 8 11:50:33 2009 +0200
fusion: Use the correct cache path on Win64.
---
dlls/fusion/fusion.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/fusion/fusion.c b/dlls/fusion/fusion.c index 5975d43..1435743 100644 --- a/dlls/fusion/fusion.c +++ b/dlls/fusion/fusion.c @@ -117,8 +117,11 @@ HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS dwCacheFlags, LPWSTR pwzCachePath, static const WCHAR gac[] = {'G','A','C',0}; static const WCHAR nativeimg[] = { 'N','a','t','i','v','e','I','m','a','g','e','s','_',0}; - static const WCHAR zapfmt[] = { - '%','s','\','%','s','\','%','s','%','s','_','3','2',0}; +#ifdef _WIN64 + static const WCHAR zapfmt[] = {'%','s','\','%','s','\','%','s','%','s','_','6','4',0}; +#else + static const WCHAR zapfmt[] = {'%','s','\','%','s','\','%','s','%','s','_','3','2',0}; +#endif
TRACE("(%08x, %p, %p)\n", dwCacheFlags, pwzCachePath, pcchPath);