From: ehofman Date: Sun, 13 Nov 2005 10:20:15 +0000 (+0000) Subject: This section was accidentally committed togetehr with another patch, it turned out... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=496dd14e21c2eaa6b8c90e98e5856c62763d8077;p=flightgear.git This section was accidentally committed togetehr with another patch, it turned out it needed a fix since env was already declared. --- 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