aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/object.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-10-25 13:31:01 +0000
committerArnaud Boutonné2010-10-25 13:31:01 +0000
commit35f220ace2ae1839f8a0706fc0e3de1ad39a6045 (patch)
treee070ebf4e9e901c19e86b93711937dec63b3f322 /engines/hugo/object.cpp
parent4e9a2798ef9aef3b28e595adeaa0873fd1ce6171 (diff)
downloadscummvm-rg350-35f220ace2ae1839f8a0706fc0e3de1ad39a6045.tar.gz
scummvm-rg350-35f220ace2ae1839f8a0706fc0e3de1ad39a6045.tar.bz2
scummvm-rg350-35f220ace2ae1839f8a0706fc0e3de1ad39a6045.zip
HUGO: cleanup: Suppress trailing spaces and tabs
svn-id: r53825
Diffstat (limited to 'engines/hugo/object.cpp')
-rw-r--r--engines/hugo/object.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hugo/object.cpp b/engines/hugo/object.cpp
index 8f4374a7a1..2dd77075c4 100644
--- a/engines/hugo/object.cpp
+++ b/engines/hugo/object.cpp
@@ -104,9 +104,9 @@ void ObjectHandler::useObject(int16 objId) {
} else {
// Use status.objid on objid
// Default to first cmd verb
- sprintf(_line, "%s %s %s", _vm->_arrayVerbs[_vm->_cmdList[_objects[_vm->getGameStatus().inventoryObjId].cmdIndex][1].verbIndex][0],
- _vm->_arrayNouns[_objects[_vm->getGameStatus().inventoryObjId].nounIndex][0],
- _vm->_arrayNouns[obj->nounIndex][0]);
+ sprintf(_line, "%s %s %s", _vm->_arrayVerbs[_vm->_cmdList[_objects[_vm->getGameStatus().inventoryObjId].cmdIndex][1].verbIndex][0],
+ _vm->_arrayNouns[_objects[_vm->getGameStatus().inventoryObjId].nounIndex][0],
+ _vm->_arrayNouns[obj->nounIndex][0]);
// Check valid use of objects and override verb if necessary
for (uses_t *use = _vm->_uses; use->objId != _vm->_numObj; use++) {
@@ -116,9 +116,9 @@ void ObjectHandler::useObject(int16 objId) {
for (target_t *target = use->targets; _vm->_arrayNouns[target->nounIndex] != 0; target++)
if (_vm->_arrayNouns[target->nounIndex][0] == _vm->_arrayNouns[obj->nounIndex][0]) {
foundFl = true;
- sprintf(_line, "%s %s %s", _vm->_arrayVerbs[target->verbIndex][0],
- _vm->_arrayNouns[_objects[_vm->getGameStatus().inventoryObjId].nounIndex][0],
- _vm->_arrayNouns[obj->nounIndex][0]);
+ sprintf(_line, "%s %s %s", _vm->_arrayVerbs[target->verbIndex][0],
+ _vm->_arrayNouns[_objects[_vm->getGameStatus().inventoryObjId].nounIndex][0],
+ _vm->_arrayNouns[obj->nounIndex][0]);
}
// No valid use of objects found, print failure string