SVN r27 (trunk)
This commit is contained in:
parent
e06ba32525
commit
25f90d6221
74 changed files with 1133 additions and 235 deletions
|
|
@ -311,7 +311,7 @@ string GetUserFile (string file, bool nodir)
|
|||
if (!nodir)
|
||||
{
|
||||
struct stat info;
|
||||
if (stat (path, &info) == -1)
|
||||
if (stat (path.GetChars(), &info) == -1)
|
||||
{
|
||||
if (mkdir (path.GetChars(), S_IRUSR | S_IWUSR | S_IXUSR) == -1)
|
||||
{
|
||||
|
|
@ -346,6 +346,7 @@ void STACK_ARGS M_SaveDefaults ()
|
|||
}
|
||||
GameConfig->WriteConfigFile ();
|
||||
delete GameConfig;
|
||||
GameConfig = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue