summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/sys_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/sys_win32.c b/src/sys/sys_win32.c
index 2fb8b006..f095659e 100644
--- a/src/sys/sys_win32.c
+++ b/src/sys/sys_win32.c
@@ -92,7 +92,7 @@ char *Sys_DefaultHomePath( void )
FARPROC qSHGetFolderPath;
HMODULE shfolder = LoadLibrary("shfolder.dll");
- if( !*homePath )
+ if(!*homePath && !com_homepath)
{
if(shfolder == NULL)
{