From ccb21d4c0c6a72b2f32dce1340bffd551d3e5c86 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 16 Oct 2011 19:58:22 +0100 Subject: [PATCH] And keep platforms other than my beloved OS-X working too ;) --- src/Main/fg_init.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5