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
|
@ -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