diff --git a/src/Main/options.cxx b/src/Main/options.cxx index c7aab9619..0b0c8acf2 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -178,7 +178,7 @@ fgSetDefaults () #elif defined(sgi) fgSetString("/sim/startup/browser-app", "launchWebJumper"); #else - char *envp = ::getenv( "WEBBROWSER" ); + envp = ::getenv( "WEBBROWSER" ); if (!envp) envp = "netscape"; fgSetString("/sim/startup/browser-app", envp); #endif