aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
diff options
context:
space:
mode:
authorTobia Tesan2014-10-15 20:51:55 +0200
committerTobia Tesan2014-10-15 21:36:45 +0200
commita78a4d40dd1be6649f83a9411311d9210f1ddeea (patch)
treefeaa57b6d3af56fba23d49caecb8d0ac34da672a /engines/wintermute/video/video_theora_player.cpp
parent8decf3d7424c8cb8eeae99d0aede78c445f18e9f (diff)
downloadscummvm-rg350-a78a4d40dd1be6649f83a9411311d9210f1ddeea.tar.gz
scummvm-rg350-a78a4d40dd1be6649f83a9411311d9210f1ddeea.tar.bz2
scummvm-rg350-a78a4d40dd1be6649f83a9411311d9210f1ddeea.zip
WINTERMUTE: Use Common::String in place of char *text in loadSubtitles
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 2af3ac1638..36d012ccb7 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -135,7 +135,7 @@ bool VideoTheoraPlayer::initialize(const Common::String &filename, const Common:
#endif
- if (_subtitler->loadSubtitles(_filename.c_str(), subtitleFile.c_str())) {
+ if (_subtitler->loadSubtitles(_filename, subtitleFile)) {
// We have subtitles
_subtitles = true;
} else {