- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973)
- Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
This commit is contained in:
1 parent
1062c1b87b
commit
876fd7dcb9
4 files changed
+11
-13
No files matched your search
+2
-2
@@ -63,12 +63,12 @@ char *Sys_DefaultHomePath(void)
|
||||
if(com_homepath->string[0])
|
||||
Q_strcat(homePath, sizeof(homePath), com_homepath->string);
|
||||
else
|
||||
Q_strcat(homePath, sizeof(homePath), "Quake3");
|
||||
Q_strcat(homePath, sizeof(homePath), HOMEPATH_NAME_MACOSX);
|
||||
#else
|
||||
if(com_homepath->string[0])
|
||||
Q_strcat(homePath, sizeof(homePath), com_homepath->string);
|
||||
else
|
||||
Q_strcat(homePath, sizeof(homePath), ".q3a");
|
||||
Q_strcat(homePath, sizeof(homePath), HOMEPATH_NAME_UNIX);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ char *Sys_DefaultHomePath( void )
|
||||
if(com_homepath->string[0])
|
||||
Q_strcat(homePath, sizeof(homePath), com_homepath->string);
|
||||
else
|
||||
Q_strcat(homePath, sizeof(homePath), "Quake3");
|
||||
Q_strcat(homePath, sizeof(homePath), HOMEPATH_NAME_WIN);
|
||||
|
||||
FreeLibrary(shfolder);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user