Fix comment

This commit is contained in:
Martchus 2021-12-11 23:49:29 +01:00
parent 5ca417069a
commit ff7dc8d772
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ void PasswordFile::write(PasswordFileSaveFlags options)
case Z_BUF_ERROR: case Z_BUF_ERROR:
throw runtime_error("Compressing failed. The destination buffer was too small."); throw runtime_error("Compressing failed. The destination buffer was too small.");
case Z_OK: case Z_OK:
encryptedData.swap(decryptedData); // decompression successful encryptedData.swap(decryptedData); // compression successful
size = 8 + compressedSize; size = 8 + compressedSize;
} }
} }