[Scummvm-git-logs] scummvm master -> eac50757dbe101751d43d59634ab5d9f3ceadb80
digitall
547637+digitall at users.noreply.github.com
Sat Mar 27 02:54:32 UTC 2021
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:
eac50757db STARTREK: Fix Bug in text Command of Debug Console
Commit: eac50757dbe101751d43d59634ab5d9f3ceadb80
https://github.com/scummvm/scummvm/commit/eac50757dbe101751d43d59634ab5d9f3ceadb80
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-27T02:53:00Z
Commit Message:
STARTREK: Fix Bug in text Command of Debug Console
This was incorrectly passing a single character, rather than a pointer
for the string.
Changed paths:
engines/startrek/console.cpp
diff --git a/engines/startrek/console.cpp b/engines/startrek/console.cpp
index a71e3b1da4..b822156366 100644
--- a/engines/startrek/console.cpp
+++ b/engines/startrek/console.cpp
@@ -101,7 +101,7 @@ bool Console::Cmd_Text(int argc, const char **argv) {
do {
uint16 offset = textList[index].offsetEnglishCD;
- debugPrintf("%i - %i: %s\n", textList[index].id, offset, rdfData[offset]);
+ debugPrintf("%i - %i: %s\n", textList[index].id, offset, rdfData+offset);
index++;
} while (textList[index].id != -1);
More information about the Scummvm-git-logs
mailing list