indentation fix

This commit is contained in:
pinumbernumber 2013-09-06 20:53:26 +01:00
parent 50e4dfb57c
commit d2472eb8cb

View File

@ -875,12 +875,12 @@ void input_config_autoconfigure_joypad(unsigned index, const char *name, const c
}
// Now try files
if (!internal_only)
{
struct string_list *list = dir_list_new(g_settings.input.autoconfig_dir, "cfg", false);
if (!list)
return;
if (!internal_only)
{
for (size_t i = 0; i < list->size; i++)
{
config_file_t *conf = config_file_new(list->elems[i].data);
@ -891,10 +891,10 @@ void input_config_autoconfigure_joypad(unsigned index, const char *name, const c
if (success)
break;
}
}
string_list_free(list);
}
}
#else
void input_config_autoconfigure_joypad(unsigned index, const char *name, const char *driver)
{