diff options
author | Marisa-Chan | 2014-11-12 14:40:29 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-11-12 14:40:29 +0600 |
commit | 9b88ab15dfff651007f9c6bcad1f5e646a4fa662 (patch) | |
tree | 13336b356859948d626b525f8211ff4f63264d4b /engines/zvision/scripting | |
parent | f55f4af2937f77c3dc9760b000d2e4806477c1a0 (diff) | |
download | scummvm-rg350-9b88ab15dfff651007f9c6bcad1f5e646a4fa662.tar.gz scummvm-rg350-9b88ab15dfff651007f9c6bcad1f5e646a4fa662.tar.bz2 scummvm-rg350-9b88ab15dfff651007f9c6bcad1f5e646a4fa662.zip |
ZVISION: Make strings const in functions declaration
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r-- | engines/zvision/scripting/control.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/scripting/control.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scripting/control.cpp b/engines/zvision/scripting/control.cpp index 4567495725..c746f00831 100644 --- a/engines/zvision/scripting/control.cpp +++ b/engines/zvision/scripting/control.cpp @@ -105,7 +105,7 @@ void Control::parseTiltControl(ZVision *engine, Common::SeekableReadStream &stre renderTable->generateRenderTable(); } -void Control::getParams(Common::String &input_str, Common::String ¶meter, Common::String &values) { +void Control::getParams(const Common::String &input_str, Common::String ¶meter, Common::String &values) { const char *chrs = input_str.c_str(); uint lbr; diff --git a/engines/zvision/scripting/control.h b/engines/zvision/scripting/control.h index 8708f033af..28c7348d98 100644 --- a/engines/zvision/scripting/control.h +++ b/engines/zvision/scripting/control.h @@ -127,7 +127,7 @@ protected: uint32 _key; int32 _venus_id; - void getParams(Common::String &input_str, Common::String ¶meter, Common::String &values); + void getParams(const Common::String &input_str, Common::String ¶meter, Common::String &values); // Static member functions public: static void parseFlatControl(ZVision *engine); |