aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 09:48:11 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 09:48:11 +0000
commit8d6644fb7622e7fb2a4702191d330131c9991816 (patch)
tree758a7ebf3f051b4ae00c6ee1bea359da6d224ea0 /code/sys
parentd7a91449f54944ed824e0104f2b645d5130cead2 (diff)
downloadioquake3-aero-8d6644fb7622e7fb2a4702191d330131c9991816.tar.gz
ioquake3-aero-8d6644fb7622e7fb2a4702191d330131c9991816.zip
* Revert r1624 and r1626-r1628
git-svn-id: svn://svn.icculus.org/quake3/trunk@1629 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sys')
-rw-r--r--code/sys/sys_unix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/code/sys/sys_unix.c b/code/sys/sys_unix.c
index f80a27f..641770c 100644
--- a/code/sys/sys_unix.c
+++ b/code/sys/sys_unix.c
@@ -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" );