From 7f8a2bef7976cd1680735546dabf7867fcea0493 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 8 Jun 2015 00:33:49 +0200 Subject: [PATCH] (Salamander) Some spurious code where it tries to use 'len' instead of 's' --- frontend/frontend_salamander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/frontend_salamander.c b/frontend/frontend_salamander.c index 4593efabf4..b026c31847 100644 --- a/frontend/frontend_salamander.c +++ b/frontend/frontend_salamander.c @@ -128,7 +128,7 @@ static void salamander_init(char *s, size_t len) if (!config_file_exists || !strcmp(s, "")) find_and_set_first_file(s, len, EXT_EXECUTABLES); else - RARCH_LOG("Start [%s] found in retroarch.cfg.\n", len); + RARCH_LOG("Start [%s] found in retroarch.cfg.\n", s); if (!config_file_exists) { @@ -136,7 +136,7 @@ static void salamander_init(char *s, size_t len) if (conf) { - config_set_string(conf, "libretro_path", len); + config_set_string(conf, "libretro_path", s); config_file_write(conf, g_defaults.config_path); config_file_free(conf); }