aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/UIEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/UIEdit.cpp')
-rw-r--r--engines/wintermute/UIEdit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/UIEdit.cpp b/engines/wintermute/UIEdit.cpp
index 65d61d2641..3f81b16395 100644
--- a/engines/wintermute/UIEdit.cpp
+++ b/engines/wintermute/UIEdit.cpp
@@ -94,7 +94,7 @@ CUIEdit::~CUIEdit() {
//////////////////////////////////////////////////////////////////////////
-HRESULT CUIEdit::LoadFile(char *Filename) {
+HRESULT CUIEdit::LoadFile(const char *Filename) {
byte *Buffer = Game->_fileManager->ReadWholeFile(Filename);
if (Buffer == NULL) {
Game->LOG(0, "CUIEdit::LoadFile failed for file '%s'", Filename);
@@ -534,7 +534,7 @@ char *CUIEdit::ScToString() {
//////////////////////////////////////////////////////////////////////////
-void CUIEdit::SetCursorChar(char *Char) {
+void CUIEdit::SetCursorChar(const char *Char) {
if (!Char) return;
delete[] _cursorChar;
_cursorChar = new char [strlen(Char) + 1];