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) #elif defined(sgi)
fgSetString("/sim/startup/browser-app", "launchWebJumper"); fgSetString("/sim/startup/browser-app", "launchWebJumper");
#else #else
envp = ::getenv( "WEBBROWSER" ); char* browserEnv = ::getenv( "WEBBROWSER" );
if (!envp) envp = "netscape"; if (!browserEnv) browserEnv = "netscape";
fgSetString("/sim/startup/browser-app", envp); fgSetString("/sim/startup/browser-app", browserEnv);
#endif #endif
fgSetString("/sim/logging/priority", "alert"); fgSetString("/sim/logging/priority", "alert");