diff options
author | Tobia Tesan | 2014-09-09 15:33:12 +0200 |
---|---|---|
committer | Tobia Tesan | 2014-10-15 21:36:47 +0200 |
commit | 2fc69d770c7f80b0f6027dd66a8cf4be401b2853 (patch) | |
tree | 289f7978cf96437da6dfcd83f3e22c7e01c72ad5 | |
parent | c6930d9a64d6d61ece2f0b531ad93459d2730150 (diff) | |
download | scummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.tar.gz scummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.tar.bz2 scummvm-rg350-2fc69d770c7f80b0f6027dd66a8cf4be401b2853.zip |
WINTERMUTE: Initialize tokenSomething vars in VideoSubtitler
MSVC complains otherwise.
-rw-r--r-- | engines/wintermute/video/video_subtitler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp index 2117832fad..2bd728c797 100644 --- a/engines/wintermute/video/video_subtitler.cpp +++ b/engines/wintermute/video/video_subtitler.cpp @@ -96,9 +96,9 @@ bool VideoSubtitler::loadSubtitles(const Common::String &filename, const Common: int start, end; bool inToken; - char *tokenStart; - int tokenLength; - int tokenPos; + char *tokenStart = 0; + int tokenLength = 0; + int tokenPos = 0; int pos = 0; int lineLength = 0; |