* Revert r1624 and r1626-r1628
This commit is contained in:
parent
ec4ab19090
commit
f89092fda6
3 changed files with 10 additions and 56 deletions
|
@ -54,9 +54,7 @@ char *Sys_DefaultHomePath(void)
|
|||
if( ( p = getenv( "HOME" ) ) != NULL )
|
||||
{
|
||||
Q_strncpyz( homePath, p, sizeof( homePath ) );
|
||||
#ifdef HOMEPATH
|
||||
Q_strcat( homePath, sizeof( homePath ), HOMEPATH );
|
||||
#elif defined(MACOS_X)
|
||||
#ifdef MACOS_X
|
||||
Q_strcat( homePath, sizeof( homePath ), "/Library" );
|
||||
mkdir( homePath, 0750 ); /* just in case. */
|
||||
Q_strcat( homePath, sizeof( homePath ), "/Application Support" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue