[quake3-commits] r2302 - trunk/code/sys
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jul 7 14:24:20 EDT 2012
Author: tma
Date: 2012-07-07 14:24:20 -0400 (Sat, 07 Jul 2012)
New Revision: 2302
Modified:
trunk/code/sys/sys_main.c
Log:
* Fix warning
Modified: trunk/code/sys/sys_main.c
===================================================================
--- trunk/code/sys/sys_main.c 2012-07-07 18:22:19 UTC (rev 2301)
+++ trunk/code/sys/sys_main.c 2012-07-07 18:24:20 UTC (rev 2302)
@@ -142,8 +142,8 @@
{
const char *homePath = Sys_DefaultHomePath( );
- if( *homePath != NULL )
- return va( "%s/%s", Sys_DefaultHomePath( ), PID_FILENAME );
+ if( *homePath != '\0' )
+ return va( "%s/%s", homePath, PID_FILENAME );
return NULL;
}
More information about the quake3-commits
mailing list