aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting
diff options
context:
space:
mode:
authorMarisa-Chan2014-11-12 14:40:29 +0600
committerMarisa-Chan2014-11-12 14:40:29 +0600
commit9b88ab15dfff651007f9c6bcad1f5e646a4fa662 (patch)
tree13336b356859948d626b525f8211ff4f63264d4b /engines/zvision/scripting
parentf55f4af2937f77c3dc9760b000d2e4806477c1a0 (diff)
downloadscummvm-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.cpp2
-rw-r--r--engines/zvision/scripting/control.h2
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 &parameter, Common::String &values) {
+void Control::getParams(const Common::String &input_str, Common::String &parameter, 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 &parameter, Common::String &values);
+ void getParams(const Common::String &input_str, Common::String &parameter, Common::String &values);
// Static member functions
public:
static void parseFlatControl(ZVision *engine);