diff options
Diffstat (limited to 'src/tag')
-rw-r--r-- | src/tag/TagConfig.cxx | 3 | ||||
-rw-r--r-- | src/tag/TagId3.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/tag/TagConfig.cxx b/src/tag/TagConfig.cxx index 49e6105cc..df40c2bc0 100644 --- a/src/tag/TagConfig.cxx +++ b/src/tag/TagConfig.cxx @@ -35,7 +35,8 @@ void TagLoadConfig() { - const char *value = config_get_string(CONF_METADATA_TO_USE, nullptr); + const char *value = config_get_string(ConfigOption::METADATA_TO_USE, + nullptr); if (value == nullptr) return; diff --git a/src/tag/TagId3.cxx b/src/tag/TagId3.cxx index 2d64924d3..ade1fd007 100644 --- a/src/tag/TagId3.cxx +++ b/src/tag/TagId3.cxx @@ -99,7 +99,8 @@ import_id3_string(bool is_id3v1, const id3_ucs4_t *ucs4) /* use encoding field here? */ const char *encoding; if (is_id3v1 && - (encoding = config_get_string(CONF_ID3V1_ENCODING, nullptr)) != nullptr) { + (encoding = config_get_string(ConfigOption::ID3V1_ENCODING, + nullptr)) != nullptr) { id3_latin1_t *isostr = id3_ucs4_latin1duplicate(ucs4); if (gcc_unlikely(isostr == nullptr)) return nullptr; |