bug 2813
* 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:
1 parent
583745769d
commit
7cb5edc9ed
2 files changed
+2
-2
No files matched your search
@@ -385,7 +385,7 @@ ifeq ($(PLATFORM),mingw32)
|
|||||||
|
|
||||||
BINEXT=.exe
|
BINEXT=.exe
|
||||||
|
|
||||||
LDFLAGS= -mwindows -lwsock32 -lgdi32 -lwinmm -lole32
|
LDFLAGS= -mwindows -lshfolder -lwsock32 -lgdi32 -lwinmm -lole32
|
||||||
CLIENT_LDFLAGS=
|
CLIENT_LDFLAGS=
|
||||||
|
|
||||||
ifeq ($(USE_CODEC_VORBIS),1)
|
ifeq ($(USE_CODEC_VORBIS),1)
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ char *Sys_DefaultHomePath(void) {
|
|||||||
}
|
}
|
||||||
Q_strncpyz( path, szPath, sizeof(path) );
|
Q_strncpyz( path, szPath, sizeof(path) );
|
||||||
Q_strcat( path, sizeof(path), "\\Quake3" );
|
Q_strcat( path, sizeof(path), "\\Quake3" );
|
||||||
if( CreateDirectory( path, NULL ) )
|
if( !CreateDirectory( path, NULL ) )
|
||||||
{
|
{
|
||||||
if( GetLastError() != ERROR_ALREADY_EXISTS )
|
if( GetLastError() != ERROR_ALREADY_EXISTS )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user