* Revert r1624 and r1626-r1628

This commit is contained in:
Tim Angus 2009-09-15 09:48:11 +00:00
parent ec4ab19090
commit f89092fda6
3 changed files with 10 additions and 56 deletions

View file

@ -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" );