- Fixed bug #642, so that the default 'data.location=~/.task' preserves the
  '~', leading to more portable .taskrc files (thanks to alparo).
This commit is contained in:
Paul Beckingham 2013-02-10 17:59:33 -05:00
parent b6c28ecb7a
commit aca76da3e5
7 changed files with 20 additions and 20 deletions

View file

@ -53,12 +53,16 @@ Path::Path ()
Path::Path (const Path& other)
{
if (this != &other)
_data = other._data;
{
_original = other._original;
_data = other._data;
}
}
////////////////////////////////////////////////////////////////////////////////
Path::Path (const std::string& in)
{
_original = in;
_data = expand (in);
}
@ -71,7 +75,10 @@ Path::~Path ()
Path& Path::operator= (const Path& other)
{
if (this != &other)
this->_data = other._data;
{
this->_original = other._original;
this->_data = other._data;
}
return *this;
}