mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Doh
This commit is contained in:
parent
ca94b38371
commit
79bba3782c
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ string concatStringsSep(const string & sep, const Strings & ss)
|
|||
string chomp(const string & s)
|
||||
{
|
||||
size_t i = s.find_last_not_of(" \n\r\t");
|
||||
return i == string::npos ? "" : string(s, 0, i);
|
||||
return i == string::npos ? "" : string(s, 0, i + 1);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue