summaryrefslogtreecommitdiff
path: root/server/src/macrotool_fieldnames.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/macrotool_fieldnames.cc')
-rw-r--r--server/src/macrotool_fieldnames.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/macrotool_fieldnames.cc b/server/src/macrotool_fieldnames.cc
index 3c3f8b7..d7cc7f9 100644
--- a/server/src/macrotool_fieldnames.cc
+++ b/server/src/macrotool_fieldnames.cc
@@ -78,7 +78,7 @@ static std::map<std::string, std::vector<std::string> > getMacroRefsList()
while(mfs != macrofiles.end()) {
std::string name = mfs->substr(0, mfs->length() - 4);
- MacroParser parser(name);
+ MacroParser parser(Conf::xml_basedir + "/macros/" + *mfs);
parser.parse();
Macro *macro = parser.getMacro();