Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.0 on 2022-01-18 at 14:00 UTC+1 (a few minutes of down time)

Commit db973a08 authored by a1ex's avatar a1ex
Browse files

Config autosave tweak (auto-enable if config file is not present)

--HG--
branch : unified
parent b5b1e51ddf90
......@@ -300,8 +300,12 @@ config_parse_file(
)
{
config_file_buf = read_entire_file(filename, &config_file_size);
if (!config_file_buf)
{
extern int config_autosave;
config_autosave = 1;
}
config_file_pos = 0;
msleep(200);
config_parse();
free_dma_memory(config_file_buf);
config_file_buf = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment