1
0
Fork 0
forked from Miroirs/x49gp

fix buidling path of config.lua

This commit is contained in:
Gwenhael Le Moine 2024-11-14 15:36:16 +01:00
parent f98bc7fea7
commit 697dadda7d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -255,7 +255,7 @@ void config_init( char* progname, int argc, char* argv[] )
opt.datadir = g_build_filename( user_config_dir, progname, NULL );
}
opt.config_lua_filename = g_build_filename( opt.datadir, progname, config_lua_filename, NULL );
opt.config_lua_filename = g_build_filename( opt.datadir, config_lua_filename, NULL );
opt.state_filename = g_build_filename( opt.datadir, "state", NULL );