diff options
author | Paul Gilbert | 2015-07-05 11:46:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-05 11:46:47 -0400 |
commit | 00a9e22bab16a4c6075a1d7ecd64bfdb96b63779 (patch) | |
tree | d22a2a0ca53967e0b001d5e17e290f867e98a3b3 | |
parent | ba66236c2e64e3f0811d889d00dd36fae5fd89da (diff) | |
download | scummvm-rg350-00a9e22bab16a4c6075a1d7ecd64bfdb96b63779.tar.gz scummvm-rg350-00a9e22bab16a4c6075a1d7ecd64bfdb96b63779.tar.bz2 scummvm-rg350-00a9e22bab16a4c6075a1d7ecd64bfdb96b63779.zip |
SHERLOCK: RT: Fix splitting lines in setStatementLines
-rw-r--r-- | engines/sherlock/tattoo/widget_talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp index 5c2d5a3360..cc6c49e551 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) { |