1
0
Fork 0

256 Bytes ought to be enough for anybody ... hmm, better 512.

Why /sim/fg-current at all? Because we have a file selector dialog
(still unfinished), and one might like to start it from the current
directory, to find saved flights/screenshots/whatever.
This commit is contained in:
mfranz 2007-06-17 08:14:02 +00:00
parent 0c6ecd1271
commit 49a89950a8

View file

@ -1313,7 +1313,7 @@ bool fgInitGeneral() {
}
#endif
char buf[256], *cwd = getcwd(buf, 256);
char buf[512], *cwd = getcwd(buf, 512);
fgSetString("/sim/fg-current", cwd ? cwd : "");
return true;
}