diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 15:05:03 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:59:18 +0200 |
commit | ded3c2a4b47a34c93c8129c58feedf2bcecd848b (patch) | |
tree | 114582997da4adb2dab33ab3f42528cd16bd74f0 /engines/wintermute/AdNodeState.cpp | |
parent | 61945782d6a73967d122f38a4f97f9b7377abdea (diff) | |
download | scummvm-rg350-ded3c2a4b47a34c93c8129c58feedf2bcecd848b.tar.gz scummvm-rg350-ded3c2a4b47a34c93c8129c58feedf2bcecd848b.tar.bz2 scummvm-rg350-ded3c2a4b47a34c93c8129c58feedf2bcecd848b.zip |
WINTERMUTE: Add const to even more char-pointers.
Diffstat (limited to 'engines/wintermute/AdNodeState.cpp')
-rw-r--r-- | engines/wintermute/AdNodeState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/AdNodeState.cpp b/engines/wintermute/AdNodeState.cpp index f3cdb6cc4d..27c796c77b 100644 --- a/engines/wintermute/AdNodeState.cpp +++ b/engines/wintermute/AdNodeState.cpp @@ -68,7 +68,7 @@ CAdNodeState::~CAdNodeState() { //////////////////////////////////////////////////////////////////////////
-void CAdNodeState::SetName(char *Name) {
+void CAdNodeState::SetName(const char *Name) {
delete[] _name;
_name = NULL;
CBUtils::SetString(&_name, Name);
@@ -107,7 +107,7 @@ HRESULT CAdNodeState::Persist(CBPersistMgr *PersistMgr) { //////////////////////////////////////////////////////////////////////////
-void CAdNodeState::SetCaption(char *Caption, int Case) {
+void CAdNodeState::SetCaption(const char *Caption, int Case) {
if (Case == 0) Case = 1;
if (Case < 1 || Case > 7) return;
|