diff options
author | Alexander Golubev <[email protected]> | 2016-08-26 22:11:14 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-09-03 11:51:07 +0900 |
commit | 03af0c40cb19e918d73b861a273f8659a1ed8604 (patch) | |
tree | 9993f65cf58949138f93ad38cbb98a2591b0099d /ark/filelistview.cpp | |
parent | f38d0cf308d7ba7f59466f8f9d0c5703397590ae (diff) | |
download | tdeutils-03af0c40cb19e918d73b861a273f8659a1ed8604.tar.gz tdeutils-03af0c40cb19e918d73b861a273f8659a1ed8604.zip |
Ark: [rar module] fix suppport for buggy rar versions
Rar versions from 5.0 till 5.3, not including the last one were added extra
spaces to short directory/file names. This behaviour resulted in
appearing of additional entries for directories and may be some other
issues.
Also slightly rework internal rar version parsing/storing and fix some
comments.
(cherry picked from commit e5a3116cffdf87b13912803006311262219aeb7b)
Diffstat (limited to 'ark/filelistview.cpp')
-rw-r--r-- | ark/filelistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ark/filelistview.cpp b/ark/filelistview.cpp index f1c941f..c1e6f3f 100644 --- a/ark/filelistview.cpp +++ b/ark/filelistview.cpp @@ -394,7 +394,7 @@ FileListView::item(const TQString& filename) const // Iterate over the current tree level siblings while (flvi) { - if (flvi->fileName() == *pathIt || flvi->fileName() == (*pathIt).stripWhiteSpace()) { + if (flvi->fileName() == *pathIt) { ++pathIt; if (pathIt != pathEnd) { flvi = (FileLVI*) flvi->firstChild(); |