From caea34b9eeeeb5f886887096af1b9b0e3b8e8adb Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Fri, 31 Aug 2001 14:37:49 +0000 Subject: [PATCH] MapPath added at some missed points --- golded3/gccfgg4.cpp | 7 ++++--- golded3/gccfgg8.cpp | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/golded3/gccfgg4.cpp b/golded3/gccfgg4.cpp index 86eae38..19114f5 100644 --- a/golded3/gccfgg4.cpp +++ b/golded3/gccfgg4.cpp @@ -332,7 +332,7 @@ void CfgGoldbaseuserno() { void CfgGoldhelp() { - strxcpy(CFG->helpcfg.fn, val, sizeof(Path)); + MapPath(strxcpy(CFG->helpcfg.fn, val, sizeof(Path))); replaceextension(CFG->helpged, CFG->helpcfg.fn, __gver_cfgext__); } @@ -340,20 +340,21 @@ void CfgGoldhelp() { void CfgGoldlang() { - strxcpy(CFG->langcfg, val, sizeof(Path)); + MapPath(strxcpy(CFG->langcfg, val, sizeof(Path))); } // ------------------------------------------------------------------ void CfgGoldpath() { - PathCopy(CFG->goldpath, val); + MapPath(PathCopy(CFG->goldpath, val)); } // ------------------------------------------------------------------ void CfgGoldxlat() { + MapPath(val); replaceextension(CFG->xlatged, val, __gver_cfgext__); } diff --git a/golded3/gccfgg8.cpp b/golded3/gccfgg8.cpp index 51b1992..0990316 100644 --- a/golded3/gccfgg8.cpp +++ b/golded3/gccfgg8.cpp @@ -546,7 +546,7 @@ void CfgXlatlocalset() { void CfgXlatpath() { - PathCopy(CFG->xlatpath, val); + MapPath(PathCopy(CFG->xlatpath, val)); } // ------------------------------------------------------------------