Codechange: Stringify config file paths.
This commit is contained in:
@@ -64,7 +64,7 @@ struct IniLoadFile {
|
||||
IniGroup *GetGroup(const std::string &name, bool create_new = true);
|
||||
void RemoveGroup(const char *name);
|
||||
|
||||
void LoadFromDisk(const char *filename, Subdirectory subdir);
|
||||
void LoadFromDisk(const std::string &filename, Subdirectory subdir);
|
||||
|
||||
/**
|
||||
* Open the INI file.
|
||||
@@ -88,7 +88,7 @@ struct IniLoadFile {
|
||||
struct IniFile : IniLoadFile {
|
||||
IniFile(const char * const *list_group_names = nullptr);
|
||||
|
||||
bool SaveToDisk(const char *filename);
|
||||
bool SaveToDisk(const std::string &filename);
|
||||
|
||||
virtual FILE *OpenFile(const char *filename, Subdirectory subdir, size_t *size);
|
||||
virtual void ReportFileError(const char * const pre, const char * const buffer, const char * const post);
|
||||
|
||||
Reference in New Issue
Block a user