(iOS) Fix issue where new config files would not be generated. (Every version since be3aa0a063
was broken...)
This commit is contained in:
parent
735bbdd013
commit
3fd2db88e8
|
@ -24,6 +24,7 @@
|
|||
- (id)initWithPath:(NSString*)path
|
||||
{
|
||||
_config = config_file_new([path UTF8String]);
|
||||
_config = _config ? _config : config_file_new(0);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ static RASettingData* custom_action(NSString* action)
|
|||
@implementation RASettingsList
|
||||
+ (void)refreshConfigFile
|
||||
{
|
||||
[[[RASettingsList alloc] init] writeToDisk];
|
||||
(void)[[RASettingsList alloc] init];
|
||||
}
|
||||
|
||||
- (id)init
|
||||
|
|
Loading…
Reference in New Issue