Commit 9e4cf5cb authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed external debugger startup.

parent 3fb4b813
......@@ -118,7 +118,8 @@ void DEBUG_ExternalDebugger(void)
/* if not set in environment, use default */
if (!dbg_wine_location)
dbg_wine_location = "wine";
if (!(dbg_wine_location = getenv("WINELOADER")))
dbg_wine_location = "miscemu/wine";
/* check for empty string in WINE_DBG_NO_XTERM */
if (dbg_no_xterm && (strlen(dbg_no_xterm) < 1))
......@@ -156,5 +157,3 @@ void DEBUG_ExternalDebugger(void)
fprintf(stderr, "DEBUG_ExternalDebugger failed.\n");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment