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 'CPP/7zip/Archive/VmdkHandler.cpp')
-rwxr-xr-x[-rw-r--r--]CPP/7zip/Archive/VmdkHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/VmdkHandler.cpp b/CPP/7zip/Archive/VmdkHandler.cpp
index fb5bb1f8..40f56131 100644..100755
--- a/CPP/7zip/Archive/VmdkHandler.cpp
+++ b/CPP/7zip/Archive/VmdkHandler.cpp
@@ -138,7 +138,7 @@ static bool Str_to_ValName(const AString &s, AString &name, AString &val)
int eq = s.Find('=');
if (eq < 0 || (qu >= 0 && eq > qu))
return false;
- name = s.Left(eq);
+ name.SetFrom(s.Ptr(), eq);
name.Trim();
val = s.Ptr(eq + 1);
val.Trim();