From 1dd32a8da4dabdce69277b0c4b4c6a074e4cbcb8 Mon Sep 17 00:00:00 2001 From: radius Date: Mon, 6 Apr 2015 19:58:57 -0500 Subject: [PATCH] style cleanups --- configuration.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configuration.c b/configuration.c index 30ed007428..56fb20d8a6 100644 --- a/configuration.c +++ b/configuration.c @@ -1651,7 +1651,7 @@ bool config_load_override(void) core_path[PATH_MAX_LENGTH], /* final path for core-specific configuration (prefix+suffix) */ game_path[PATH_MAX_LENGTH]; /* final path for game-specific configuration (prefix+suffix) */ const char *core_name, *game_name; /* suffix */ - + global_t *global = global_get_ptr(); /* global pointer */ settings_t *settings = config_get_ptr(); /* config pointer */ @@ -1719,7 +1719,7 @@ bool config_load_override(void) /* Append game-specific */ if (new_conf) { - RARCH_LOG("Game-specific overrides found at %s. Appending.\n", game_path); + RARCH_LOG("Game-specific overrides found at %s. Appending.\n", game_path); if(should_append) { strlcat(global->append_config_path, "|", sizeof(global->append_config_path)); @@ -1727,7 +1727,7 @@ bool config_load_override(void) } else strlcpy(global->append_config_path, game_path, sizeof(global->append_config_path)); - + should_append = true; } else @@ -1746,15 +1746,15 @@ bool core_unload_override(void) { global_t *global = global_get_ptr(); settings_t *settings = config_get_ptr(); - + *global->append_config_path = NULL; - if(config_load_file(global->config_path, false)) + if (config_load_file(global->config_path, false)) { RARCH_LOG("Configuration overrides unloaded, original configuration reset\n"); - return true; - } + return true; + } else - return false; + return false; } /**