diff options
Diffstat (limited to '7zip/UI/Common/Update.h')
-rwxr-xr-x | 7zip/UI/Common/Update.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/UI/Common/Update.h b/7zip/UI/Common/Update.h index ed7e8885..d94ffcc9 100755 --- a/7zip/UI/Common/Update.h +++ b/7zip/UI/Common/Update.h @@ -31,7 +31,7 @@ struct CArchivePath if (Name.IsEmpty()) return; int dotPos = Name.ReverseFind(L'.'); - if (dotPos < 0) + if (dotPos <= 0) return; if (dotPos == Name.Length() - 1) { |