]> git.mxchange.org Git - flightgear.git/commitdiff
And keep platforms other than my beloved OS-X working too ;)
authorJames Turner <zakalawe@mac.com>
Sun, 16 Oct 2011 18:58:22 +0000 (19:58 +0100)
committerJames Turner <zakalawe@mac.com>
Sun, 16 Oct 2011 18:58:22 +0000 (19:58 +0100)
src/Main/fg_init.cxx

index 073c53ac1a8e06e24fef63f12ed12656ee676eba..3a3bad44f380c4da9411890ff413776315f814bd 100644 (file)
@@ -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