aboutsummaryrefslogtreecommitdiffstats
path: root/code/win32/win_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/win32/win_shared.c')
-rw-r--r--code/win32/win_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/win32/win_shared.c b/code/win32/win_shared.c
index 36a35c5..4bbd509 100644
--- a/code/win32/win_shared.c
+++ b/code/win32/win_shared.c
@@ -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 )
{