From 4e2c4f530dfd4f4dbea103b7afaa64f23b86ad29 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 19 Jul 2011 21:37:57 -0300 Subject: [PATCH] Fix problem where aseprite.ini is not saved when flush_config_file() is called. + Flush "config_override" file in flush_config_file(). --- src/allegro/src/config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allegro/src/config.c b/src/allegro/src/config.c index e33315fb4..3a39f0816 100644 --- a/src/allegro/src/config.c +++ b/src/allegro/src/config.c @@ -121,6 +121,10 @@ static void flush_config(CONFIG *cfg) void flush_config_file(void) { flush_config(config[0]); + + /* [dacap] Flush the overriden file */ + if (config_override) + flush_config(config_override); }