summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/xml/xmlScriptParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/xml/xmlScriptParser.cpp b/project2/xml/xmlScriptParser.cpp
index 50dba96..3bb8b4a 100644
--- a/project2/xml/xmlScriptParser.cpp
+++ b/project2/xml/xmlScriptParser.cpp
@@ -94,7 +94,7 @@ XmlScriptParser::isCurrent() const
class XmlScriptReaderLoader : public ScriptReaderLoader {
public:
ScriptReaderPtr resolveScript(const std::string & group, const std::string & name) const {
- boost::filesystem::path script(boost::filesystem::current_path() / group / (name + ".xml"));
+ boost::filesystem::path script(boost::filesystem::path(group) / (name + ".xml"));
if (boost::filesystem::is_regular_file(script)) {
return new XmlScriptParser(script);
}