Vincent Povirk : mscoree: Remove "Install Mono for Windows" message.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 13 12:14:17 CST 2016
Module: wine
Branch: master
Commit: 26c9bd9f15c364215be9731bb050454c14d90767
URL: http://source.winehq.org/git/wine.git/?a=commit;h=26c9bd9f15c364215be9731bb050454c14d90767
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Sat Jan 9 16:16:24 2016 -0600
mscoree: Remove "Install Mono for Windows" message.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscoree/metahost.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index 35284b7..b0237b3 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -126,11 +126,6 @@ static void CDECL set_print_handler_dummy(MonoPrintCallback callback)
{
}
-static void missing_runtime_message(void)
-{
- MESSAGE("wine: Install Mono for Windows to run .NET applications.\n");
-}
-
static HRESULT load_mono(LPCWSTR mono_path)
{
static const WCHAR lib[] = {'\\','l','i','b',0};
@@ -277,7 +272,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost *
if (!get_mono_path(mono_path))
{
- missing_runtime_message();
+ ERR("Wine Mono is not installed\n");
return CLR_E_SHIM_RUNTIME;
}
@@ -1306,8 +1301,6 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
}
}
- missing_runtime_message();
-
return CLR_E_SHIM_RUNTIME;
}
More information about the wine-cvs
mailing list