This section was accidentally committed togetehr with another patch, it turned out it needed a fix since env was already declared.
This commit is contained in:
parent
a76bbbd23f
commit
496dd14e21
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ fgSetDefaults ()
|
||||||
#elif defined(sgi)
|
#elif defined(sgi)
|
||||||
fgSetString("/sim/startup/browser-app", "launchWebJumper");
|
fgSetString("/sim/startup/browser-app", "launchWebJumper");
|
||||||
#else
|
#else
|
||||||
char *envp = ::getenv( "WEBBROWSER" );
|
envp = ::getenv( "WEBBROWSER" );
|
||||||
if (!envp) envp = "netscape";
|
if (!envp) envp = "netscape";
|
||||||
fgSetString("/sim/startup/browser-app", envp);
|
fgSetString("/sim/startup/browser-app", envp);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue