diff options
author | Einar Johan Trøan Sømåen | 2013-01-24 20:15:13 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-24 20:15:13 +0100 |
commit | 5d4d65d6d9316b17a3d72fb11bbcca0b3a0f45ef (patch) | |
tree | 44eb7dc3863d3eafc70daa4578f198d183ee1d6d /engines/wintermute/base/scriptables/script_ext_file.cpp | |
parent | 2507b5db8d2dbeef0f937d6d61a5ada1cac7e445 (diff) | |
download | scummvm-rg350-5d4d65d6d9316b17a3d72fb11bbcca0b3a0f45ef.tar.gz scummvm-rg350-5d4d65d6d9316b17a3d72fb11bbcca0b3a0f45ef.tar.bz2 scummvm-rg350-5d4d65d6d9316b17a3d72fb11bbcca0b3a0f45ef.zip |
JANITORIAL: Fix ){ -> ) {
Diffstat (limited to 'engines/wintermute/base/scriptables/script_ext_file.cpp')
-rw-r--r-- | engines/wintermute/base/scriptables/script_ext_file.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/base/scriptables/script_ext_file.cpp b/engines/wintermute/base/scriptables/script_ext_file.cpp index a1d39c5d0a..08ecc8d7db 100644 --- a/engines/wintermute/base/scriptables/script_ext_file.cpp +++ b/engines/wintermute/base/scriptables/script_ext_file.cpp @@ -701,13 +701,13 @@ bool SXFile::scSetProperty(const char *name, ScValue *value) { ////////////////////////////////////////////////////////////////////////// // Length ////////////////////////////////////////////////////////////////////////// - if (strcmp(name, "Length")==0){ + if (strcmp(name, "Length")==0) { int origLength = _length; _length = max(value->getInt(0), 0); char propName[20]; - if (_length < OrigLength){ - for(int i=_length; i<OrigLength; i++){ + if (_length < OrigLength) { + for(int i=_length; i<OrigLength; i++) { sprintf(PropName, "%d", i); _values->DeleteProp(PropName); } |