mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-29 16:11:31 +00:00
Addressed string concatenation issue and added dummy method for Mac/Linux
This commit is contained in:
parent
3c78fe2295
commit
7533dcd00b
2 changed files with 16 additions and 1 deletions
|
@ -120,6 +120,18 @@ char *Sys_GogPath( void )
|
|||
return gogPath;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
Sys_MicrosoftStorePath
|
||||
================
|
||||
*/
|
||||
char* Sys_MicrosoftStorePath(void)
|
||||
{
|
||||
// Microsoft Store doesn't exist on Mac/Linux
|
||||
return microsoftStorePath;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
================
|
||||
Sys_Milliseconds
|
||||
|
|
|
@ -232,7 +232,10 @@ Sys_MicrosoftStorePath
|
|||
*/
|
||||
char* Sys_MicrosoftStorePath(void)
|
||||
{
|
||||
Q_strcat(microsoftStorePath, MAX_OSPATH, "C:\\Program Files\\ModifiableWindowsApps\\Quake 3\\EN");
|
||||
if (!microsoftStorePath[0])
|
||||
{
|
||||
Q_strcat(microsoftStorePath, MAX_OSPATH, "C:\\Program Files\\ModifiableWindowsApps\\Quake 3\\EN");
|
||||
}
|
||||
return microsoftStorePath;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue