[2/2] mscoree: Remove "Install Mono for Windows" message.

Vincent Povirk madewokherd at gmail.com
Sat Jan 9 16:16:24 CST 2016


From: Vincent Povirk <vincent at codeweavers.com>

Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
 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 f82898e..a3ee1fb 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -125,11 +125,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};
@@ -275,7 +270,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;
     }
 
@@ -1304,8 +1299,6 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
             }
         }
 
-        missing_runtime_message();
-
         return CLR_E_SHIM_RUNTIME;
     }
 
-- 
2.1.4




More information about the wine-patches mailing list