From: James Turner Date: Sun, 16 Oct 2011 18:58:22 +0000 (+0100) Subject: And keep platforms other than my beloved OS-X working too ;) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ccb21d4c0c6a72b2f32dce1340bffd551d3e5c86;p=flightgear.git And keep platforms other than my beloved OS-X working too ;) --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 073c53ac1..3a3bad44f 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -457,6 +457,7 @@ static SGPath platformDefaultDataPath() char *envp = ::getenv( "APPDATA" ); SGPath config( envp ); config.append( "flightgear.org" ); + return config; } #elif __APPLE__ @@ -485,6 +486,7 @@ static SGPath platformDefaultDataPath() { SGPath config( homedir ); config.append( ".fgfs" ); + return config; } #endif