diff options
author | Tobia Tesan | 2014-11-05 19:31:10 +0100 |
---|---|---|
committer | Tobia Tesan | 2014-11-05 19:31:10 +0100 |
commit | 2f082f6e438598f9093c92482bd6f75af264d785 (patch) | |
tree | 297ce84ac5a4f71bbc6e98dbbe7ff913a625080a /engines | |
parent | 215ac157e6f694327d5de0ec46a6fc1eabbf4719 (diff) | |
download | scummvm-rg350-2f082f6e438598f9093c92482bd6f75af264d785.tar.gz scummvm-rg350-2f082f6e438598f9093c92482bd6f75af264d785.tar.bz2 scummvm-rg350-2f082f6e438598f9093c92482bd6f75af264d785.zip |
WINTERMUTE: Remove redundant explicit call to Common::String constructor
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/video/video_subtitler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |