From 1b2505ac21ce8dd09a34aff86455a8a3677094a0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:06:16 +0200 Subject: finally, perfect .clang-format settings? --- aesxx/utils/decrypt_bmp.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'aesxx/utils/decrypt_bmp.cpp') diff --git a/aesxx/utils/decrypt_bmp.cpp b/aesxx/utils/decrypt_bmp.cpp index 397ec02..50060eb 100644 --- a/aesxx/utils/decrypt_bmp.cpp +++ b/aesxx/utils/decrypt_bmp.cpp @@ -20,9 +20,11 @@ namespace { -void decrypt_bmp(aes::Box& box, - const std::string& ciphertext_path, - const std::string& plaintext_path) { +void decrypt_bmp( + aes::Box& box, + const std::string& ciphertext_path, + const std::string& plaintext_path +) { bmp::BmpFile bmp{file::read_file(ciphertext_path)}; bmp.replace_pixels(box.decrypt_buffer(bmp.get_pixels(), bmp.get_pixels_size())); file::write_file(plaintext_path, bmp.get_buffer(), bmp.get_size()); -- cgit v1.3