2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Make use of wrongly unused variables

This commit is contained in:
Ilya Fedin
2024-01-01 01:49:50 +04:00
committed by John Preston
parent 00e785a3af
commit 4b297bfa09
2 changed files with 2 additions and 2 deletions

View File

@@ -613,7 +613,7 @@ void writeBackground(const Data::WallPaper &paper, const QImage &image) {
dst = dst.subspan(sizeof(qint32));
bytes::copy(dst, bytes::object_as_span(&height));
dst = dst.subspan(sizeof(qint32));
const auto src = bytes::make_span(image.constBits(), srcsize);
const auto src = bytes::make_span(copy.constBits(), srcsize);
if (srcsize == dstsize) {
bytes::copy(dst, src);
} else {