[Scummvm-git-logs] scummvm master -> f3ba6b7e0e17608909cb039d38669d4ba55ed485

criezy noreply at scummvm.org
Mon Dec 2 20:00:30 UTC 2024


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

Summary:
f3ba6b7e0e Dreamweb: Fix scrolling of end credits


Commit: f3ba6b7e0e17608909cb039d38669d4ba55ed485
    https://github.com/scummvm/scummvm/commit/f3ba6b7e0e17608909cb039d38669d4ba55ed485
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2024-12-02T19:59:27Z

Commit Message:
Dreamweb: Fix scrolling of end credits

This was a regression introduced in commit 826660b92.

Changed paths:
    engines/dreamweb/print.cpp


diff --git a/engines/dreamweb/print.cpp b/engines/dreamweb/print.cpp
index e95cd56ec86..c3628e16770 100644
--- a/engines/dreamweb/print.cpp
+++ b/engines/dreamweb/print.cpp
@@ -138,11 +138,11 @@ uint8 DreamWebEngine::printDirect(const uint8** string, uint16 x, uint16 *y, uin
 		uint16 i = offset;
 		do {
 			uint8 c = (*string)[0];
+			++(*string);
 			if ((c == 0) || (c == ':')) {
 				return c;
 			}
-			uint8 nextChar = (*string)[1];
-			++(*string);
+			uint8 nextChar = (*string)[0];
 			c = modifyChar(c);
 			uint8 width, height;
 			printChar(charSet, &i, *y, c, nextChar, &width, &height);




More information about the Scummvm-git-logs mailing list