aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r--libbuild2/utility.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx
index 31be3aa..3eeeeaa 100644
--- a/libbuild2/utility.cxx
+++ b/libbuild2/utility.cxx
@@ -131,13 +131,13 @@ namespace build2
if (p.absolute ())
{
if (p == b)
- return cur ? "." + p.separator_string () : string ();
+ return cur ? '.' + p.separator_string () : string ();
#ifndef _WIN32
if (!home.empty ())
{
if (p == home)
- return "~" + p.separator_string ();
+ return '~' + p.separator_string ();
}
#endif