diff options
author | B Stack <bgstack15@gmail.com> | 2019-01-15 08:16:08 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-01-15 08:16:08 -0500 |
commit | 7c855d11f23dc03d64a0099473a95402f3175280 (patch) | |
tree | 41b8a3085df4de883f2993773b138f1436e041a4 /zen/string_base.h | |
parent | Merge branch '10.7' into 'master' (diff) | |
download | FreeFileSync-7c855d11f23dc03d64a0099473a95402f3175280.tar.gz FreeFileSync-7c855d11f23dc03d64a0099473a95402f3175280.tar.bz2 FreeFileSync-7c855d11f23dc03d64a0099473a95402f3175280.zip |
10.8
Diffstat (limited to 'zen/string_base.h')
-rwxr-xr-x | zen/string_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/string_base.h b/zen/string_base.h index 91a6d5bd..2247f93a 100755 --- a/zen/string_base.h +++ b/zen/string_base.h @@ -423,7 +423,7 @@ size_t Zbase<Char, SP>::rfind(const Char* str, size_t pos) const const size_t len = length(); const Char* currEnd = begin() + (pos == npos ? len : std::min(pos + strLen, len)); const Char* it = searchLast(begin(), currEnd, - str, str + strLen); + str, str + strLen); return it == currEnd ? npos : it - begin(); } |