mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Move to fread(...) instead for launch parameters
This commit is contained in:
parent
cb0e72fc0a
commit
6ad6a230ea
@ -45,7 +45,7 @@ bool LaunchR5Apex()
|
||||
// Load command line arguments from a file on the disk.
|
||||
if (sLaunchParams)
|
||||
{
|
||||
while (fgets(sArgumentBuffer, sizeof(sArgumentBuffer), sLaunchParams) != NULL)
|
||||
while (fread(sArgumentBuffer, sizeof(sArgumentBuffer), 1, sLaunchParams) != NULL)
|
||||
{
|
||||
fclose(sLaunchParams);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user