Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Dec 11, 2021
1 parent 5ca4170 commit ff7dc8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/passwordfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ void PasswordFile::write(PasswordFileSaveFlags options)
case Z_BUF_ERROR:
throw runtime_error("Compressing failed. The destination buffer was too small.");
case Z_OK:
encryptedData.swap(decryptedData); // decompression successful
encryptedData.swap(decryptedData); // compression successful
size = 8 + compressedSize;
}
}
Expand Down

0 comments on commit ff7dc8d

Please sign in to comment.