summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index fe892c0e1..f6cea75b3 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -28,7 +28,7 @@ bool sepstream::GetToken(std::string &token)
if (*n == sep || n + 1 == tokens.end())
{
last_starting_position = n + 1;
- token = std::string(lsp, n + 1 == tokens.end() ? n + 1 : ++n);
+ token = std::string(lsp, n + 1 == tokens.end() ? n + 1 : n++);
while (token.length() && token.find_last_of(sep) == token.length() - 1)
token.erase(token.end() - 1);