change config names
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / BasicSupportPara.java
index 9795cf661a25c8ce6b3ce63dd827725125dcf485..b9603484c17fb48410417e4df68eaa348252eaec 100644 (file)
@@ -68,9 +68,9 @@ class BasicSupportPara {
                // "Chapter 5: - Fun!" after the ": " was automatically added)
                String chapterName = BasicSupportPara.processPara(name, false)
                                .getContent().trim();
-               for (String lang : Instance.getConfig().getList(Config.CHAPTER)) {
+               for (String lang : Instance.getConfig().getList(Config.CONF_CHAPTER)) {
                        String chapterWord = Instance.getConfig().getStringX(
-                                       Config.CHAPTER, lang);
+                                       Config.CONF_CHAPTER, lang);
                        if (chapterName.startsWith(chapterWord)) {
                                chapterName = chapterName.substring(chapterWord.length())
                                                .trim();