- pass filename to I_WriteIniFailed as parameter.
This accessed game data from the backend.
This commit is contained in:
parent
34f30ee70b
commit
307ff4e163
4 changed files with 6 additions and 8 deletions
|
|
@ -36,12 +36,11 @@
|
|||
|
||||
#include "cmdlib.h"
|
||||
#include "i_system.h"
|
||||
#include "gameconfigfile.h"
|
||||
|
||||
|
||||
bool I_WriteIniFailed()
|
||||
bool I_WriteIniFailed(const char * filename)
|
||||
{
|
||||
printf("The config file %s could not be saved:\n%s\n", GameConfig->GetPathName(), strerror(errno));
|
||||
printf("The config file %s could not be saved:\n%s\n", filename, strerror(errno));
|
||||
return false; // return true to retry
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue