From b6b7af271845781da0673f6973b73b55aee0dccf Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 7 Jul 2012 18:22:19 +0000 Subject: Fix windows as well --- src/sys/sys_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit