diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-09-12 13:15:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-09-12 13:15:54 -0300 |
commit | a087ad9e45ac64f2ae6258f729a68bcc224fe305 (patch) | |
tree | e5faa695f9f0173f73d220da332d5cbd7a8876b2 /src/map/stylist.c | |
parent | 1443f47ca63972f737bd9cc0322f77dc416ff2a0 (diff) | |
download | hercules-r12.5_BUGGY.tar.gz hercules-r12.5_BUGGY.tar.bz2 hercules-r12.5_BUGGY.tar.xz hercules-r12.5_BUGGY.zip |
This is Hercules v2019.10.20r12.5_BUGGY
Diffstat (limited to 'src/map/stylist.c')
-rw-r--r-- | src/map/stylist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/stylist.c b/src/map/stylist.c index 7e7c13bf7..438302214 100644 --- a/src/map/stylist.c +++ b/src/map/stylist.c @@ -40,7 +40,8 @@ static bool stylist_read_db_libconfig(void) { struct config_t stylist_conf; struct config_setting_t *stylist_db = NULL, *it = NULL; - const char *config_filename = "db/stylist_db.conf"; // FIXME hardcoded name + char config_filename[256]; + libconfig->format_db_path("stylist_db.conf", config_filename, sizeof(config_filename)); int i = 0; if (!libconfig->load_file(&stylist_conf, config_filename)) |