[Scummvm-git-logs] scummvm master -> dbba22e5710bbd63d83569cae6d873c7b0704745
dreammaster
dreammaster at scummvm.org
Sun Nov 19 22:57:28 CET 2017
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:
dbba22e571 XEEN: Fix display of multi-page town messages
Commit: dbba22e5710bbd63d83569cae6d873c7b0704745
https://github.com/scummvm/scummvm/commit/dbba22e5710bbd63d83569cae6d873c7b0704745
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-11-19T16:57:18-05:00
Commit Message:
XEEN: Fix display of multi-page town messages
Changed paths:
engines/xeen/town.cpp
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index f150305..10a295c 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -1225,7 +1225,7 @@ bool TownMessage::execute(int portrait, const Common::String &name, const Common
name.c_str(), msgText.c_str());
// Count the number of words
- const char *msgEnd = w.writeString(msg.c_str());
+ const char *msgEnd = w.writeString(msg);
int wordCount = 0;
for (const char *msgP = msg.c_str(); msgP != msgEnd && *msgP; ++msgP) {
More information about the Scummvm-git-logs
mailing list