From 697dadda7d0e5a5c26c63d81a1f76515d9c693b4 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 14 Nov 2024 15:36:16 +0100 Subject: [PATCH] fix buidling path of config.lua --- src/x49gpng/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x49gpng/options.c b/src/x49gpng/options.c index d43987c..5262377 100644 --- a/src/x49gpng/options.c +++ b/src/x49gpng/options.c @@ -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 );