summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_traditional_view.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-06-01 00:33:51 +0000
committerB. Stack <bgstack15@gmail.com>2022-06-01 00:33:51 +0000
commitaedc987064ddb4f01551ae07d1d1a169d619f1d6 (patch)
treec1bbb293d01364ffec442c4de2941b7006243410 /freefilesync/debian/patches/ffs_traditional_view.patch
parentMerge branch 'newmoon-bump' into 'master' (diff)
parentdisable package note file (diff)
downloadstackrpms-aedc987064ddb4f01551ae07d1d1a169d619f1d6.tar.gz
stackrpms-aedc987064ddb4f01551ae07d1d1a169d619f1d6.tar.bz2
stackrpms-aedc987064ddb4f01551ae07d1d1a169d619f1d6.zip
Merge branch 'freefilesync-bump' into 'master'
Freefilesync bump See merge request bgstack15/stackrpms!299
Diffstat (limited to 'freefilesync/debian/patches/ffs_traditional_view.patch')
-rw-r--r--freefilesync/debian/patches/ffs_traditional_view.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/freefilesync/debian/patches/ffs_traditional_view.patch b/freefilesync/debian/patches/ffs_traditional_view.patch
index aeeb9b2..e0cf0d2 100644
--- a/freefilesync/debian/patches/ffs_traditional_view.patch
+++ b/freefilesync/debian/patches/ffs_traditional_view.patch
@@ -1,5 +1,5 @@
Version: 11.21
-Date: 2022-05-22
+Date: 2022-05-24
Author: bgstack15@gmail.com
Message: restore a traditional view to FreeFileSync
diff -x '*.orig' -x '*.rej' -aur 11.3-0/FreeFileSync/Source/ui/file_grid.cpp 11.3-1/FreeFileSync/Source/ui/file_grid.cpp
@@ -85,7 +85,7 @@ diff -x '*.orig' -x '*.rej' -aur 11.3-0/FreeFileSync/Source/ui/file_grid.cpp 11.
+ if (!endsWith(groupParentFolder, L'/' ) && //e.g. ftp://server/
+ !endsWith(groupParentFolder, L'\\') && /*e.g. C:\ */
+ groupParentFolder.size() > 0 )
-+ groupParentFolder += groupParentSep;
++ groupParentFolder += contains(groupParentFolder, L'/') ? L'/' : (contains(groupParentFolder, L'\\') ? L'\\' : FILE_NAME_SEPARATOR);
+ break;
+ case ItemPathFormat::name:
+ case ItemPathFormat::relative:
bgstack15