[Scummvm-git-logs] scummvm master -> 9debb941a64f79074aaa776f8f66e11c9db2c66e

bluegr noreply at scummvm.org
Wed Nov 4 00:14:57 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
9debb941a6 GRAPHICS: Fix typo of incorrect source pointer in 24-bit scaling


Commit: 9debb941a64f79074aaa776f8f66e11c9db2c66e
    https://github.com/scummvm/scummvm/commit/9debb941a64f79074aaa776f8f66e11c9db2c66e
Author: fusefib (55459980+fusefib at users.noreply.github.com)
Date: 2026-11-04T02:14:51+02:00

Commit Message:
GRAPHICS: Fix typo of incorrect source pointer in 24-bit scaling

Changed paths:
    graphics/blit/blit-scale.cpp


diff --git a/graphics/blit/blit-scale.cpp b/graphics/blit/blit-scale.cpp
index 0b8aa799920..97fdaa9fbdf 100644
--- a/graphics/blit/blit-scale.cpp
+++ b/graphics/blit/blit-scale.cpp
@@ -90,7 +90,7 @@ static void scaleNN(byte *dst, const byte *src,
 			if (Size == sizeof(Color)) {
 				*(Color *)dst1 = *(const Color *)src1;
 			} else {
-				memcpy(dst1, src, Size);
+				memcpy(dst1, src1, Size);
 			}
 			dst1 += dstIncX * Size;
 		}




More information about the Scummvm-git-logs mailing list