Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/UI/Common/Update.h')
-rwxr-xr-x7zip/UI/Common/Update.h2
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)
{