aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/inventory.cpp
diff options
context:
space:
mode:
authorStrangerke2014-02-16 18:48:31 +0100
committerStrangerke2014-02-16 18:48:31 +0100
commitf6a7e004079e6f16025bed2e3826c811831e44e3 (patch)
tree6b069041261a1950c794eb0c253b31b5216758a6 /engines/fullpipe/inventory.cpp
parente370716c180b472e3fa103f0646b711acc6896fa (diff)
downloadscummvm-rg350-f6a7e004079e6f16025bed2e3826c811831e44e3.tar.gz
scummvm-rg350-f6a7e004079e6f16025bed2e3826c811831e44e3.tar.bz2
scummvm-rg350-f6a7e004079e6f16025bed2e3826c811831e44e3.zip
FULLPIPE: Janitorial - Remove trailing spaces
Diffstat (limited to 'engines/fullpipe/inventory.cpp')
-rw-r--r--engines/fullpipe/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp
index cf12a8279c..483631ed33 100644
--- a/engines/fullpipe/inventory.cpp
+++ b/engines/fullpipe/inventory.cpp
@@ -219,7 +219,7 @@ void Inventory2::rebuildItemRects() {
InventoryIcon *icn = new InventoryIcon();
icn->inventoryItemId = _itemsPool[idx]->id;
-
+
icn->pictureObjectNormal = _scene->getPictureObjectById(_itemsPool[idx]->pictureObjectNormal, 0);
icn->pictureObjectHover = _scene->getPictureObjectById(_itemsPool[idx]->pictureObjectHover, 0);
icn->pictureObjectSelected = _scene->getPictureObjectById(_itemsPool[idx]->pictureObjectSelected, 0);
@@ -352,7 +352,7 @@ bool Inventory2::handleLeftClick(ExCommand *cmd) {
bool res = false;
for (uint i = 0; i < _inventoryIcons.size(); i++) {
- if (cmd->_x >= _inventoryIcons[i]->x1 && cmd->_x <= _inventoryIcons[i]->x2 &&
+ if (cmd->_x >= _inventoryIcons[i]->x1 && cmd->_x <= _inventoryIcons[i]->x2 &&
cmd->_y >= _inventoryIcons[i]->y1 && cmd->_y <= _inventoryIcons[i]->y2) {
if (getSelectedItemId()) {
if (getSelectedItemId() != _inventoryIcons[i]->inventoryItemId)