* (bug #5709) Fix crash when invoked with --version

This commit is contained in:
Tim Angus committed 2012-07-07 17:32:19 +00:00
1 parent 79bb668a9f
commit 37f2b4db90
2 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ char *Sys_DefaultHomePath(void)
{
char *p;
if( !*homePath )
if( !*homePath && com_homepath != NULL )
{
if( ( p = getenv( "HOME" ) ) != NULL )
{