Fix windows as well

This commit is contained in:
Thilo Schulz 2012-07-07 18:22:19 +00:00
parent 37f2b4db90
commit 053aa8ead7

View file

@ -90,7 +90,7 @@ char *Sys_DefaultHomePath( void )
FARPROC qSHGetFolderPath; FARPROC qSHGetFolderPath;
HMODULE shfolder = LoadLibrary("shfolder.dll"); HMODULE shfolder = LoadLibrary("shfolder.dll");
if( !*homePath ) if(!*homePath && !com_homepath)
{ {
if(shfolder == NULL) if(shfolder == NULL)
{ {