* fixed bug with new win32 home path detection 
* added SHFolder.lib linking to the mingw build for win98/win95 compat
This commit is contained in:
Tony J. White = 2006-08-01 17:36:47 +00:00
parent 583745769d
commit 7cb5edc9ed
2 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ ifeq ($(PLATFORM),mingw32)
BINEXT=.exe
LDFLAGS= -mwindows -lwsock32 -lgdi32 -lwinmm -lole32
LDFLAGS= -mwindows -lshfolder -lwsock32 -lgdi32 -lwinmm -lole32
CLIENT_LDFLAGS=
ifeq ($(USE_CODEC_VORBIS),1)

View File

@ -296,7 +296,7 @@ char *Sys_DefaultHomePath(void) {
}
Q_strncpyz( path, szPath, sizeof(path) );
Q_strcat( path, sizeof(path), "\\Quake3" );
if( CreateDirectory( path, NULL ) )
if( !CreateDirectory( path, NULL ) )
{
if( GetLastError() != ERROR_ALREADY_EXISTS )
{