diff options
author | Tobia Tesan | 2014-10-14 22:58:17 +0200 |
---|---|---|
committer | Tobia Tesan | 2014-10-15 19:50:48 +0200 |
commit | d9d80db869b21e4625d445e4f00af6b03b09e6c8 (patch) | |
tree | 999c314bb3c8e9eb3556987d5c89591a6076fd1e /engines/wintermute | |
parent | ba1862ecb8bb80751c58e70f233449dd05e4245c (diff) | |
download | scummvm-rg350-d9d80db869b21e4625d445e4f00af6b03b09e6c8.tar.gz scummvm-rg350-d9d80db869b21e4625d445e4f00af6b03b09e6c8.tar.bz2 scummvm-rg350-d9d80db869b21e4625d445e4f00af6b03b09e6c8.zip |
WINTERMUTE: Take const char in loadSubtitles
Diffstat (limited to 'engines/wintermute')
-rw-r--r-- | engines/wintermute/video/video_subtitler.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/video/video_subtitler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp index 072d1e1c99..6d65adea74 100644 --- a/engines/wintermute/video/video_subtitler.cpp +++ b/engines/wintermute/video/video_subtitler.cpp @@ -58,7 +58,7 @@ CVidSubtitler::~CVidSubtitler(void) { ////////////////////////////////////////////////////////////////////////// -bool CVidSubtitler::LoadSubtitles(char *Filename, char *SubtitleFile) { +bool CVidSubtitler::LoadSubtitles(const char *Filename, const char *SubtitleFile) { if (!Filename) { return S_OK; } diff --git a/engines/wintermute/video/video_subtitler.h b/engines/wintermute/video/video_subtitler.h index fb3da8dc91..25641bc574 100644 --- a/engines/wintermute/video/video_subtitler.h +++ b/engines/wintermute/video/video_subtitler.h @@ -42,7 +42,7 @@ public: bool m_ShowSubtitle; int m_CurrentSubtitle; - bool LoadSubtitles(char *Filename, char *SubtitleFile); + bool LoadSubtitles(const char *Filename, const char *SubtitleFile); bool Display(); bool Update(long Frame); long m_LastSample; |