From a78a4d40dd1be6649f83a9411311d9210f1ddeea Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Wed, 15 Oct 2014 20:51:55 +0200 Subject: WINTERMUTE: Use Common::String in place of char *text in loadSubtitles --- engines/wintermute/video/video_theora_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/video/video_theora_player.cpp') 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 { -- cgit v1.2.3