diff options
author | Strangerke | 2015-12-20 16:02:35 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:35:31 +0100 |
commit | ae9c2fea51adb1e5b713683e1fadfbb11558c267 (patch) | |
tree | ebd53caa4aca07f39bed4afc9f103754043d9f14 /engines/lab/special.cpp | |
parent | a4d3bda5c179fd1019f0812f04e6913fba863c28 (diff) | |
download | scummvm-rg350-ae9c2fea51adb1e5b713683e1fadfbb11558c267.tar.gz scummvm-rg350-ae9c2fea51adb1e5b713683e1fadfbb11558c267.tar.bz2 scummvm-rg350-ae9c2fea51adb1e5b713683e1fadfbb11558c267.zip |
LAB: Replace char* by Common::String in several functions
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r-- | engines/lab/special.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index 9f33d9626d..a45a8fa840 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -126,7 +126,7 @@ void LabEngine::loadJournalData() { else if (bridge) filename += '1'; - _journalText = _resource->getText(filename.c_str()); + _journalText = _resource->getText(filename); _journalTextTitle = _resource->getText("Lab:Rooms/jt"); Common::File *journalFile = _resource->openDataFile("P:JImage"); @@ -463,8 +463,8 @@ void LabEngine::doMonitor(Common::String background, Common::String textfile, bo _monitorButton = new Image(buttonFile, this); delete buttonFile; - Common::String ntext = _resource->getText(textfile.c_str()); - _graphics->loadBackPict(background.c_str(), _highPalette); + Common::String ntext = _resource->getText(textfile); + _graphics->loadBackPict(background, _highPalette); drawMonText((char *)ntext.c_str(), monitorFont, scaledRect, isinteractive); _event->mouseShow(); _graphics->fade(true, 0); |