mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
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:
parent
583745769d
commit
7cb5edc9ed
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue