Skip to content

Commit 4d7ecde

Browse files
committed
Fix misleading indentation
1 parent ebae689 commit 4d7ecde

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Frame.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -833,10 +833,11 @@ void Frame::AddImage(std::shared_ptr<QImage> new_image, bool only_odd_lines)
833833
int start = 0;
834834
if (only_odd_lines)
835835
start = 1;
836-
for (int row = start; row < image->height(); row += 2) {
837-
memcpy((unsigned char *) pixels, new_pixels + (row * image->bytesPerLine()), image->bytesPerLine());
838-
new_pixels += image->bytesPerLine();
839-
}
836+
837+
for (int row = start; row < image->height(); row += 2) {
838+
memcpy((unsigned char *) pixels, new_pixels + (row * image->bytesPerLine()), image->bytesPerLine());
839+
new_pixels += image->bytesPerLine();
840+
}
840841

841842
// Update height and width
842843
width = image->width();

0 commit comments

Comments
 (0)