aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/subtitles.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/toon/subtitles.cpp b/engines/toon/subtitles.cpp
index f3205ed8f8..2d77b563cd 100644
--- a/engines/toon/subtitles.cpp
+++ b/engines/toon/subtitles.cpp
@@ -72,8 +72,7 @@ bool SubtitleRenderer::load(const Common::String &video) {
Common::String ext("tss");
subfile.replace(subfile.size() - ext.size(), ext.size(), ext);
- Common::SeekableReadStream *file;
- file = _vm->resources()->openFile(subfile);
+ Common::SeekableReadStream *file = _vm->resources()->openFile(subfile);
if (!file) {
return false;
}