r829 - in trunk: . code/win32
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Aug 1 13:36:48 EDT 2006
Author: tjw
Date: 2006-08-01 13:36:47 -0400 (Tue, 01 Aug 2006)
New Revision: 829
Modified:
trunk/Makefile
trunk/code/win32/win_shared.c
Log:
bug 2813
* fixed bug with new win32 home path detection
* added SHFolder.lib linking to the mingw build for win98/win95 compat
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2006-08-01 16:51:13 UTC (rev 828)
+++ trunk/Makefile 2006-08-01 17:36:47 UTC (rev 829)
@@ -385,7 +385,7 @@
BINEXT=.exe
- LDFLAGS= -mwindows -lwsock32 -lgdi32 -lwinmm -lole32
+ LDFLAGS= -mwindows -lshfolder -lwsock32 -lgdi32 -lwinmm -lole32
CLIENT_LDFLAGS=
ifeq ($(USE_CODEC_VORBIS),1)
Modified: trunk/code/win32/win_shared.c
===================================================================
--- trunk/code/win32/win_shared.c 2006-08-01 16:51:13 UTC (rev 828)
+++ trunk/code/win32/win_shared.c 2006-08-01 17:36:47 UTC (rev 829)
@@ -296,7 +296,7 @@
}
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 )
{
More information about the quake3-commits
mailing list