[Scummvm-cvs-logs] scummvm master -> 00a9e22bab16a4c6075a1d7ecd64bfdb96b63779
dreammaster
dreammaster at scummvm.org
Sun Jul 5 17:47:54 CEST 2015
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:
00a9e22bab SHERLOCK: RT: Fix splitting lines in setStatementLines
Commit: 00a9e22bab16a4c6075a1d7ecd64bfdb96b63779
https://github.com/scummvm/scummvm/commit/00a9e22bab16a4c6075a1d7ecd64bfdb96b63779
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-05T11:46:47-04:00
Commit Message:
SHERLOCK: RT: Fix splitting lines in setStatementLines
Changed paths:
engines/sherlock/tattoo/widget_talk.cpp
diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp
index 5c2d5a3..cc6c49e 100644
--- a/engines/sherlock/tattoo/widget_talk.cpp
+++ b/engines/sherlock/tattoo/widget_talk.cpp
@@ -541,7 +541,7 @@ void WidgetTalk::setStatementLines() {
// Find out how much of the statement will fit on the line
int width = 0;
- const char *ch = line.c_str();
+ const char *ch = str.c_str();
const char *space = nullptr;
while (width < xSize && *ch) {
More information about the Scummvm-git-logs
mailing list