summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-09 02:06:44 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-09 02:06:44 (GMT)
commit19ea0f0427a40068a2ee31127c5103a5cc55f5b9 (patch)
treef2bf05a5aef2d3a141d90ae576aa1507b5290ffe /src/context.cc
parentad338d3e46eac0d0277a7000c48972d47f6c0091 (diff)
Don't use native() to extract strings from boost::filesystem::path() since that will use wchar under Windows
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cc b/src/context.cc
index 57df902..354195f 100644
--- a/src/context.cc
+++ b/src/context.cc
@@ -176,7 +176,7 @@ AbstractNode *Context::evaluate_module(const ModuleInstantiation &inst) const
std::string Context::getAbsolutePath(const std::string &filename) const
{
if (!filename.empty()) {
- return absolute(path(this->document_path) / filename).native();
+ return absolute(path(this->document_path) / filename).string();
}
else {
return filename;
contact: Jan Huwald // Impressum