From f12ea9f0a09fb226a64a474a55f81fd6a9cc5600 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Apr 2017 19:56:39 +0300 Subject: Fix too long lines in virtfszip.cpp --- src/fs/virtfs/virtfszip.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index 9b53e86aa..e4770c517 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -269,8 +269,11 @@ namespace VirtFsZip if (found == false) { std::string dirName2 = pathJoin(dirName, fileName); - if (findLast(dirName2, std::string(dirSeparator)) == false) + if (findLast(dirName2, std::string(dirSeparator)) == + false) + { dirName2 += dirSeparator; + } FOR_EACH (std::vector::const_iterator, it, zipEntry->mDirs) @@ -361,8 +364,11 @@ namespace VirtFsZip if (found == false) { std::string dirName2 = pathJoin(dirName, fileName); - if (findLast(dirName2, std::string(dirSeparator)) == false) + if (findLast(dirName2, std::string(dirSeparator)) == + false) + { dirName2 += dirSeparator; + } FOR_EACH (std::vector::const_iterator, it, zipEntry->mDirs) @@ -453,8 +459,11 @@ namespace VirtFsZip if (found == false) { std::string dirName2 = pathJoin(dirName, fileName); - if (findLast(dirName2, std::string(dirSeparator)) == false) + if (findLast(dirName2, std::string(dirSeparator)) == + false) + { dirName2 += dirSeparator; + } FOR_EACH (std::vector::const_iterator, it, zipEntry->mDirs) -- cgit v1.2.3-70-g09d2