[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:03:03 UTC 2012
The following commit has been merged in the wheezy branch:
commit fd36401c854e1c3683279b180da2585b89037b53
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Mar 15 22:40:25 2012 +1100
mscoree: Allow capital for version number.
(cherry picked from commit d08e89a8d61bf3224503327b7f40ef65cab7b038)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index e15a638..1e377d4 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -973,7 +973,7 @@ static BOOL parse_runtime_version(LPCWSTR version, DWORD *major, DWORD *minor, D
*minor = 0;
*build = 0;
- if (version[0] == 'v')
+ if (version[0] == 'v' || version[0] == 'V')
{
version++;
if (!isdigit(*version))
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index b6ae490..e8869dc 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -347,6 +347,9 @@ HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWST
if (SUCCEEDED(ret))
{
+ if(pwszVersion)
+ pVersion[0] = pwszVersion[0];
+
*dwDirectoryLength = dwDirectory;
ret = ICLRRuntimeInfo_GetRuntimeDirectory(info, pDirectory, dwDirectoryLength);
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list