summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 26de6f9e..0e7f2aec 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -753,7 +753,7 @@ void instance_t::include_directive(char * line)
{
#if BOOST_VERSION >= 103700
#if BOOST_VERSION >= 104600
- string base = (*iter).path().string();
+ string base = (*iter).path().filename().string();
#else
string base = (*iter).filename();
#endif