[Scummvm-cvs-logs] scummvm master -> 8e4fca0e75639caa5d425682d8e8d09a5dbf1c27

dreammaster dreammaster at scummvm.org
Wed Jul 1 02:02:50 CEST 2015


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:
8e4fca0e75 SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots


Commit: 8e4fca0e75639caa5d425682d8e8d09a5dbf1c27
    https://github.com/scummvm/scummvm/commit/8e4fca0e75639caa5d425682d8e8d09a5dbf1c27
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-30T20:01:53-04:00

Commit Message:
SHERLOCK: RT: Fix inventory tooltip when hovering on empty slots

Changed paths:
    engines/sherlock/tattoo/widget_inventory.cpp



diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp
index b4a6daa..1b4fa69 100644
--- a/engines/sherlock/tattoo/widget_inventory.cpp
+++ b/engines/sherlock/tattoo/widget_inventory.cpp
@@ -118,7 +118,7 @@ void WidgetInventoryTooltip::handleEvents() {
 	TattooUserInterface &ui = *(TattooUserInterface *)_vm->_ui;
 	Common::Point mousePos = events.mousePos();
 	Common::String str;
-	int select = -1, oldSelect = -1;
+	int select = -1, oldSelect = 999;
 	Common::String strWith = fixedText.getText(kFixedText_With);
 	Common::String strUse = fixedText.getText(kFixedText_Use);
 






More information about the Scummvm-git-logs mailing list