summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-24 19:56:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-24 19:56:39 +0300
commitf12ea9f0a09fb226a64a474a55f81fd6a9cc5600 (patch)
treef136f35fb23f11514183bfe4e5721bd38e8010eb
parent6f58d1ee37041da28562d09757a9f653109f5677 (diff)
downloadplus-s20170424.tar.gz
plus-s20170424.tar.bz2
plus-s20170424.tar.xz
plus-s20170424.zip
Fix too long lines in virtfszip.cpps20170424
-rw-r--r--src/fs/virtfs/virtfszip.cpp15
1 files 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<std::string>::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<std::string>::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<std::string>::const_iterator,
it,
zipEntry->mDirs)