diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2012-07-07 18:22:19 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:46:31 +0000 |
commit | b6b7af271845781da0673f6973b73b55aee0dccf (patch) | |
tree | 140e35bec5d79bca3d42142ba8d6204bb1213f3d /src | |
parent | 0f1b59fc0585e79306eb5beb28822cb5e12a57dc (diff) |
Fix windows as well
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/sys_win32.c | 2 |
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) { |