Skip to content

Commit

Permalink
Off by one
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Nov 1, 2023
1 parent 72b193b commit e153ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ EnvironmentMap env()
{
return std::make_pair(
_inp.substr(0, _inp.find('=')),
_inp.substr(_inp.find('=')));
_inp.substr(_inp.find('=') + 1));
};

#ifdef _WIN32
Expand Down

0 comments on commit e153ac9

Please sign in to comment.