[Scummvm-cvs-logs] scummvm master -> cfb0492cbbd4f86d260426a9db2d14f7c365da6b

lordhoto lordhoto at gmail.com
Wed Feb 5 15:09:56 CET 2014


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:
cfb0492cbb KYRA: Fix scrolling credits in HoF.


Commit: cfb0492cbbd4f86d260426a9db2d14f7c365da6b
    https://github.com/scummvm/scummvm/commit/cfb0492cbbd4f86d260426a9db2d14f7c365da6b
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2014-02-05T06:07:40-08:00

Commit Message:
KYRA: Fix scrolling credits in HoF.

Changed paths:
    engines/kyra/sequences_hof.cpp



diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp
index 9fcce4e..776a3e5 100644
--- a/engines/kyra/sequences_hof.cpp
+++ b/engines/kyra/sequences_hof.cpp
@@ -1651,7 +1651,7 @@ void SeqPlayer_HOF::displayHoFTalkieScrollText(uint8 *data, const ScreenDim *d,
 			textData[1].text += strlen((char *)textData[1].text);
 			textData[1].text[0] = textData[1].unk1;
 			cnt--;
-			memcpy(&textData[1], &textData[2], cnt * sizeof(ScrollTextData));
+			memmove(&textData[1], &textData[2], cnt * sizeof(ScrollTextData));
 		}
 
 		if (palCycle) {






More information about the Scummvm-git-logs mailing list