[Scummvm-git-logs] scummvm master -> 8150cdd3c0d8803cad7827be3168479422795292

bluegr noreply at scummvm.org
Fri May 20 17:47:31 UTC 2022


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:
8150cdd3c0 CHEWY: Fix highlighting when hovering over inventory buttons


Commit: 8150cdd3c0d8803cad7827be3168479422795292
    https://github.com/scummvm/scummvm/commit/8150cdd3c0d8803cad7827be3168479422795292
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-05-20T20:47:10+03:00

Commit Message:
CHEWY: Fix highlighting when hovering over inventory buttons

A typo in commit e2221d6585383915344dcdfd3e1ce19b65e73e7f
Thanks to dreammaster for bisecting this

Changed paths:
    engines/chewy/dialogs/inventory.cpp


diff --git a/engines/chewy/dialogs/inventory.cpp b/engines/chewy/dialogs/inventory.cpp
index 9e2b5d522d8..f667d3acff8 100644
--- a/engines/chewy/dialogs/inventory.cpp
+++ b/engines/chewy/dialogs/inventory.cpp
@@ -67,7 +67,7 @@ void Inventory::plot_menu() {
 	if (k != -1) {
 		if (k < 5)
 			_G(out)->boxFill(inventoryHotspots[k].left, inventoryHotspots[k].top,
-	  						 inventoryHotspots[k].bottom + 1, inventoryHotspots[k].right + 5, 41);
+	  						 inventoryHotspots[k].right + 1, inventoryHotspots[k].bottom + 5, 41);
 		else {
 			int16 x = (g_events->_mousePos.x - (WIN_INF_X)) / 54;
 			y = (g_events->_mousePos.y - (WIN_INF_Y + 4 + 30)) / 30;




More information about the Scummvm-git-logs mailing list