new feature: use CompressDialog settings for "Add to xyz.7z"

- the standard 7-Zip will always use LZMA2 Level 5
- my version used always: ZStandard Level 3
- but now, it uses: the registry settings from the last CompressDialog
This commit is contained in:
Tino Reichardt
2017-05-18 14:43:39 +02:00
parent 9e94cf8abf
commit 6936476598
2 changed files with 48 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
using namespace NWindows;
using namespace NRegistry;
#define REG_PATH_FM TEXT("Software") TEXT(STRING_PATH_SEPARATOR) TEXT("7-Zip") TEXT(STRING_PATH_SEPARATOR) TEXT("FM")
#define REG_PATH_FM TEXT("Software") TEXT(STRING_PATH_SEPARATOR) TEXT("7-Zip-ZStandard") TEXT(STRING_PATH_SEPARATOR) TEXT("FM")
static LPCTSTR const kCUBasePath = REG_PATH_FM;
static LPCTSTR const kCulumnsKeyName = REG_PATH_FM TEXT(STRING_PATH_SEPARATOR) TEXT("Columns");