diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-03 16:51:29 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-03 16:51:29 (GMT) |
commit | f58c0a3eb5ce9f252e98f41ddc34dcb70a68052b (patch) | |
tree | a2f3fb5b102e494feadc7c4e6e1cbf843f0699e3 /src/surface.cc | |
parent | 16b74df94104525436342e7a128573a2a63d3494 (diff) |
Some cleanup of the Context class
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface.cc b/src/surface.cc index d9a0c6e..b7dfa0f 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -78,7 +78,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstantiat Context c(ctx); c.args(argnames, argexpr, inst->argnames, inst->argvalues); - node->filename = c.get_absolute_path(c.lookup_variable("file").text); + node->filename = c.getAbsolutePath(c.lookup_variable("file").text); Value center = c.lookup_variable("center", true); if (center.type == Value::BOOL) { |