aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_fixed_text.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-03 16:01:20 -0400
committerPaul Gilbert2015-07-03 16:01:20 -0400
commit1e37f0b2efd2acd343bc199fa051c2f8a5da34df (patch)
tree2151f36a34f82978b15460e51cc5483f8de8f227 /engines/sherlock/tattoo/tattoo_fixed_text.cpp
parentd3a5db8ad75200f58f8f5ca7b10504e41aa9f6c2 (diff)
downloadscummvm-rg350-1e37f0b2efd2acd343bc199fa051c2f8a5da34df.tar.gz
scummvm-rg350-1e37f0b2efd2acd343bc199fa051c2f8a5da34df.tar.bz2
scummvm-rg350-1e37f0b2efd2acd343bc199fa051c2f8a5da34df.zip
SHERLOCK: Change FixedText::getText to return const char *
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_fixed_text.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_fixed_text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/tattoo_fixed_text.cpp b/engines/sherlock/tattoo/tattoo_fixed_text.cpp
index 1a40c704ee..2be41c8e4a 100644
--- a/engines/sherlock/tattoo/tattoo_fixed_text.cpp
+++ b/engines/sherlock/tattoo/tattoo_fixed_text.cpp
@@ -62,8 +62,8 @@ static const char *const FIXED_TEXT_ENGLISH[] = {
TattooFixedText::TattooFixedText(SherlockEngine *vm) : FixedText(vm) {
}
-const Common::String TattooFixedText::getText(int fixedTextId) {
- return Common::String(FIXED_TEXT_ENGLISH[fixedTextId]);
+const char *TattooFixedText::getText(int fixedTextId) {
+ return FIXED_TEXT_ENGLISH[fixedTextId];
}
const Common::String TattooFixedText::getActionMessage(FixedTextActionId actionId, int messageIndex) {