]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
Set "/sim/fghome-readonly" to false also for Windows.
[flightgear.git] / src / Main / fg_init.cxx
index 248b62acd503bcfe25fe1dc310c8aad11289a0b9..dc56fb0af50d09d2b354c2980ce3745d22a9e1be 100644 (file)
@@ -417,9 +417,10 @@ bool fgInitHome()
         if( ::unlink(pidPath.c_str()) != 0 ) // delete file when app quits
           result = false;
     }
-    
-    fgSetBool("/sim/fghome-readonly", false);
 #endif
+
+    fgSetBool("/sim/fghome-readonly", false);
+
     if (!result) {
         flightgear::fatalMessageBox("File permissions problem",
                                     "Can't write to user-data storage folder, check file permissions and FG_HOME.",