Fix Unix build.
This commit is contained in:
parent
b1c7495fec
commit
0431822e2a
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue