fixed saving as compressed on win7

This commit is contained in:
henrypp committed 2024-06-30 04:12:27 +05:00
1 parent 401864db0c
commit da5db4e5bd
1 file changed
+1 -1
+1 -1
View File
@@ -687,7 +687,7 @@ NTSTATUS _app_db_encodebody (
case PROFILE2_ID_COMPRESSED:
{
// compress body
status = _r_sys_compressbuffer (COMPRESSION_FORMAT_XPRESS | COMPRESSION_ENGINE_MAXIMUM, &bytes->sr, &new_bytes);
status = _r_sys_compressbuffer (COMPRESSION_FORMAT_LZNT1 | COMPRESSION_ENGINE_MAXIMUM, &bytes->sr, &new_bytes);
if (!NT_SUCCESS (status))
{