From 981aa2bdd76e95173f79db6544992695d72bf117 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 30 Dec 2010 05:55:07 +0100 Subject: [PATCH] Test /etc/ssnes.conf properly --- settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/settings.c b/settings.c index 05f68bf1d7..af2a886ff1 100644 --- a/settings.c +++ b/settings.c @@ -131,7 +131,8 @@ void parse_config(void) strcat(conf_path, "/.ssnesrc"); conf = config_file_new(conf_path); } - else // Try /etc/ssnes.cfg as a final test ... + // Try this as a last chance... + if (!conf) conf = config_file_new("/etc/ssnes.cfg"); }