Skip to content

Commit

Permalink
Fix incorrect copy source/destination in DoubleVertStretch
Browse files Browse the repository at this point in the history
  • Loading branch information
benstone committed Dec 7, 2024
1 parent 1b0b543 commit 5d09cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kauai/src/gfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2834,7 +2834,7 @@ void DoubleVertStretch(byte *prgbSrc, long cbRowSrc, long dypSrc, RC *prcSrc, by

// copy two rows to the destination in C code
CopyPb(prgbSrc + xpOn, prgbDst + xpOn, xpOff - xpOn);
CopyPb(prgbSrc + xpOn + cbRowDst, prgbDst + xpOn, xpOff - xpOn);
CopyPb(prgbSrc + xpOn, prgbDst + cbRowDst + xpOn, xpOff - xpOn);

#endif //! IN_80386

Expand Down

0 comments on commit 5d09cb4

Please sign in to comment.