* Fix warning

This commit is contained in:
Tim Angus 2012-07-07 18:24:20 +00:00
parent 053aa8ead7
commit 88cbeae0fd
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ static char *Sys_PIDFileName( void )
{
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;
}