From 47462e9810b19809688a2b26fb3a4043da20a802 Mon Sep 17 00:00:00 2001 From: BLooperZ Date: Fri, 8 Nov 2019 00:42:58 +0200 Subject: TOON: formatting --- engines/toon/subtitles.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/toon') 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; } -- cgit v1.2.3