diff options
author | Paul Gilbert | 2015-07-03 16:01:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-03 16:01:20 -0400 |
commit | 1e37f0b2efd2acd343bc199fa051c2f8a5da34df (patch) | |
tree | 2151f36a34f82978b15460e51cc5483f8de8f227 /engines/sherlock/scalpel/scalpel_fixed_text.cpp | |
parent | d3a5db8ad75200f58f8f5ca7b10504e41aa9f6c2 (diff) | |
download | scummvm-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/scalpel/scalpel_fixed_text.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_fixed_text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_fixed_text.cpp b/engines/sherlock/scalpel/scalpel_fixed_text.cpp index c81896c913..465940ce45 100644 --- a/engines/sherlock/scalpel/scalpel_fixed_text.cpp +++ b/engines/sherlock/scalpel/scalpel_fixed_text.cpp @@ -359,8 +359,8 @@ ScalpelFixedText::ScalpelFixedText(SherlockEngine *vm) : FixedText(vm) { _curLanguageEntry = curLanguageEntry; } -const Common::String ScalpelFixedText::getText(int fixedTextId) { - return Common::String(_curLanguageEntry->fixedTextArray[fixedTextId]); +const char *ScalpelFixedText::getText(int fixedTextId) { + return _curLanguageEntry->fixedTextArray[fixedTextId]; } const Common::String ScalpelFixedText::getActionMessage(FixedTextActionId actionId, int messageIndex) { |