From 053aa8ead78328ea24c54f65cf4efdfcfb321610 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 7 Jul 2012 18:22:19 +0000 Subject: [PATCH] Fix windows as well --- code/sys/sys_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c index 58fd9aba..0ac32da4 100644 --- a/code/sys/sys_win32.c +++ b/code/sys/sys_win32.c @@ -90,7 +90,7 @@ char *Sys_DefaultHomePath( void ) FARPROC qSHGetFolderPath; HMODULE shfolder = LoadLibrary("shfolder.dll"); - if( !*homePath ) + if(!*homePath && !com_homepath) { if(shfolder == NULL) {