1
0
Fork 0

Fix Unix build.

This commit is contained in:
James Turner 2011-10-16 19:17:23 +01:00
parent b1c7495fec
commit 0431822e2a

View file

@ -182,9 +182,9 @@ fgSetDefaults ()
#elif defined(sgi)
fgSetString("/sim/startup/browser-app", "launchWebJumper");
#else
envp = ::getenv( "WEBBROWSER" );
if (!envp) envp = "netscape";
fgSetString("/sim/startup/browser-app", envp);
char* browserEnv = ::getenv( "WEBBROWSER" );
if (!browserEnv) browserEnv = "netscape";
fgSetString("/sim/startup/browser-app", browserEnv);
#endif
fgSetString("/sim/logging/priority", "alert");