We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a33cf commit c5f6175Copy full SHA for c5f6175
1 file changed
ui/drivers/cocoa/cocoa_common.m
@@ -863,7 +863,7 @@ bool cocoa_get_metrics(
863
{
864
config_file_t *conf = NULL;
865
NSString *backup = [NSUserDefaults.standardUserDefaults stringForKey:@FILE_PATH_MAIN_CONFIG];
866
- if ([backup length] >= 0)
+ if ([backup length] > 0)
867
868
char *str = strdup(backup.UTF8String);
869
conf = config_file_new_from_string(str, path_get(RARCH_PATH_CONFIG));
0 commit comments