From 2f082f6e438598f9093c92482bd6f75af264d785 Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Wed, 5 Nov 2014 19:31:10 +0100 Subject: WINTERMUTE: Remove redundant explicit call to Common::String constructor --- engines/wintermute/video/video_subtitler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/video') diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp index e3127d1c5e..86f8f9b128 100644 --- a/engines/wintermute/video/video_subtitler.cpp +++ b/engines/wintermute/video/video_subtitler.cpp @@ -66,7 +66,7 @@ bool VideoSubtitler::loadSubtitles(const Common::String &filename, const Common: * /some/path/movie.sub */ if (subtitleFile.size() != 0) { - newFile = Common::String(subtitleFile); + newFile = subtitleFile; } else { Common::String path = PathUtil::getDirectoryName(filename); Common::String name = PathUtil::getFileNameWithoutExtension(filename); -- cgit v1.2.3