diff options
| author | aosipenko <[email protected]> | 2022-02-10 16:48:08 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:08 +0300 | 
| commit | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch) | |
| tree | 8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /tools/archiver/main.cpp | |
| parent | d2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'tools/archiver/main.cpp')
| -rw-r--r-- | tools/archiver/main.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/archiver/main.cpp b/tools/archiver/main.cpp index 6cda54c1ea8..9a5cc863ef1 100644 --- a/tools/archiver/main.cpp +++ b/tools/archiver/main.cpp @@ -615,16 +615,16 @@ int main(int argc, char** argv) {      for (size_t i = 0; i < files.size(); ++i) {          const auto& path = files[i]; -        size_t off = 0; -#ifdef _win_ -        if (path[0] > 0 && isalpha(path[0]) && path[1] == ':') -            off = 2; // skip drive letter ("d:") +        size_t off = 0;  +#ifdef _win_  +        if (path[0] > 0 && isalpha(path[0]) && path[1] == ':')  +            off = 2; // skip drive letter ("d:")   #endif               // _win_ -        const size_t pos = path.find(':', off); +        const size_t pos = path.find(':', off);           TRec cur; -        cur.Path = path.substr(0, pos); +        cur.Path = path.substr(0, pos);           if (pos != TString::npos) -            cur.Prefix = path.substr(pos + 1); +            cur.Prefix = path.substr(pos + 1);           if (keys.size())              cur.Key = keys[i];          cur.Recursive = recursive;  | 
