diff options
author | Walter van Niftrik | 2016-04-01 16:55:43 +0200 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | 23d4e61260f96cf3aa5104649a3a4f7b72c7df78 (patch) | |
tree | 5be67db672cfbcbe5e6dd36a4884b2f26fa5734e | |
parent | fde2db9d4c09d4318d9dbc409044838d456693a6 (diff) | |
download | scummvm-rg350-23d4e61260f96cf3aa5104649a3a4f7b72c7df78.tar.gz scummvm-rg350-23d4e61260f96cf3aa5104649a3a4f7b72c7df78.tar.bz2 scummvm-rg350-23d4e61260f96cf3aa5104649a3a4f7b72c7df78.zip |
ADL: Fix hires2 item description debug printing
-rw-r--r-- | engines/adl/console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/adl/console.cpp b/engines/adl/console.cpp index 377909cf3f..1a670b7a6a 100644 --- a/engines/adl/console.cpp +++ b/engines/adl/console.cpp @@ -244,7 +244,8 @@ void Console::printItem(const Item &item) { if (item.description > 0) { desc = toAscii(_engine->_messages[item.description - 1]); - desc.deleteLastChar(); + if (desc.lastChar() == '\r') + desc.deleteLastChar(); } switch (item.state) { |