aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2015-12-20 16:04:20 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:31 +0100
commitbaa638fe2ecb8a6dbde0a8fd6d5af20f80aa0676 (patch)
tree85f9aa40fd48c39778edebcd3f96e02703f8411c /engines
parentae9c2fea51adb1e5b713683e1fadfbb11558c267 (diff)
downloadscummvm-rg350-baa638fe2ecb8a6dbde0a8fd6d5af20f80aa0676.tar.gz
scummvm-rg350-baa638fe2ecb8a6dbde0a8fd6d5af20f80aa0676.tar.bz2
scummvm-rg350-baa638fe2ecb8a6dbde0a8fd6d5af20f80aa0676.zip
LAB: Remove useless call to c_str
Diffstat (limited to 'engines')
-rw-r--r--engines/lab/special.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp
index a45a8fa840..3f5a3d09bf 100644
--- a/engines/lab/special.cpp
+++ b/engines/lab/special.cpp
@@ -373,7 +373,7 @@ void LabEngine::processMonitor(char *ntext, TextFont *monitorFont, bool isIntera
_monitorPage = 0;
_monitorTextFilename = test;
- Common::String text = _resource->getText(_monitorTextFilename.c_str());
+ Common::String text = _resource->getText(_monitorTextFilename);
_graphics->fade(false, 0);
drawMonText((char *)text.c_str(), monitorFont, textRect, isInteractive);
_graphics->fade(true, 0);