Mercurial > hg > sidinfo
changeset 213:65bd23eacdca
Use a #define for HVSC documents subdir name.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 23 Dec 2018 09:28:50 +0200 |
parents | 90ff5dbee152 |
children | 98563979859b |
files | sidinfo.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Sun Dec 23 08:25:21 2018 +0200 +++ b/sidinfo.c Sun Dec 23 09:28:50 2018 +0200 @@ -19,6 +19,7 @@ #define SET_DEF_CHARSET "utf8" // NOTE! Do not change unless you are using iconv()!! // The fallback converter does not handle other encodings. +#define SET_HVSC_DOCUMENTS "DOCUMENTS" #define SET_SLDB_FILEBASE "Songlengths" @@ -1177,7 +1178,7 @@ th_stat_data sdata; char *npath = th_strdup_printf("%s%c%s%c%s%s", setHVSCPath, TH_DIR_SEPARATOR, - "DOCUMENTS", TH_DIR_SEPARATOR, + SET_HVSC_DOCUMENTS, TH_DIR_SEPARATOR, filebase, fext); if (npath != NULL &&