[Scummvm-git-logs] scummvm master -> ede632424dfb749f580dcf624ffcbd5d22aa8d5b
sev-
noreply at scummvm.org
Thu Jul 7 22:26:48 UTC 2022
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:
ede632424d DIRECTOR: Fix returned `the selection` so it does not include inserted newlines
Commit: ede632424dfb749f580dcf624ffcbd5d22aa8d5b
https://github.com/scummvm/scummvm/commit/ede632424dfb749f580dcf624ffcbd5d22aa8d5b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-07-08T00:25:51+02:00
Commit Message:
DIRECTOR: Fix returned `the selection` so it does not include inserted newlines
Changed paths:
engines/director/lingo/lingo-the.cpp
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index c2dd875e550..f706041c002 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -827,7 +827,7 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
if (channel->_widget) {
d.type = STRING;
- d.u.s = new Common::String(Common::convertFromU32String(((Graphics::MacText *)channel->_widget)->getSelection()));
+ d.u.s = new Common::String(Common::convertFromU32String(((Graphics::MacText *)channel->_widget)->getSelection(false, false)));
}
}
break;
More information about the Scummvm-git-logs
mailing list