mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make chdir usage consistent with other source usage
This commit is contained in:
parent
4db9ceca03
commit
8001511b7c
1 changed files with 7 additions and 1 deletions
|
|
@ -909,7 +909,13 @@ static void IdentifyVersion(void)
|
|||
}
|
||||
|
||||
CONS_Printf("%s\n", srb2path);
|
||||
chdir(srb2path);
|
||||
|
||||
#if defined (_WIN32)
|
||||
SetCurrentDirectoryA(srb2path);
|
||||
#else
|
||||
if (chdir(srb2path) == -1)
|
||||
I_OutputMsg("Couldn't change working directory\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
#if (defined (__unix__) && !defined (MSDOS)) || defined (UNIXCOMMON) || defined (HAVE_SDL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue