[Scummvm-git-logs] scummvm master -> 69b9c4a4b207512088810b3062ac54f9a5787d90
digitall
noreply at scummvm.org
Thu Dec 30 15:12:00 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
69b9c4a4b2 BURIED: Fix GCC Compiler Shadowing Warning
Commit: 69b9c4a4b207512088810b3062ac54f9a5787d90
https://github.com/scummvm/scummvm/commit/69b9c4a4b207512088810b3062ac54f9a5787d90
Author: D G Turner (digitall at scummvm.org)
Date: 2021-12-30T15:11:34Z
Commit Message:
BURIED: Fix GCC Compiler Shadowing Warning
Changed paths:
engines/buried/inventory_window.cpp
diff --git a/engines/buried/inventory_window.cpp b/engines/buried/inventory_window.cpp
index 0fcf6c5d30f..c897956d068 100644
--- a/engines/buried/inventory_window.cpp
+++ b/engines/buried/inventory_window.cpp
@@ -518,7 +518,7 @@ void InventoryWindow::onLButtonUp(const Common::Point &point, uint flags) {
}
if (_textSelected >= 0) {
- const uint16 curItem = getCurItem();
+ curItem = getCurItem();
for (int i = 0; i < 5; i++) {
if (inventoryText[i].contains(point) && (curItem + i - 2) >= 0 && (curItem + i - 2) < (int)_itemArray.size() && i == _textSelected) {
More information about the Scummvm-git-logs
mailing list