[Scummvm-cvs-logs] scummvm master -> c92b020284169060099e7189972be707d42fa74f

dreammaster dreammaster at scummvm.org
Tue Jul 14 03:10:35 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:
c92b020284 SHERLOCK: RT: Fix crash if clicking at very top of Verbs menu


Commit: c92b020284169060099e7189972be707d42fa74f
    https://github.com/scummvm/scummvm/commit/c92b020284169060099e7189972be707d42fa74f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-13T21:09:33-04:00

Commit Message:
SHERLOCK: RT: Fix crash if clicking at very top of Verbs menu

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



diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp
index 0d8fc62..3cdd124 100644
--- a/engines/sherlock/tattoo/widget_verbs.cpp
+++ b/engines/sherlock/tattoo/widget_verbs.cpp
@@ -203,7 +203,7 @@ void WidgetVerbs::handleEvents() {
 					ui._menuMode = scene._labTableScene ? LAB_MODE : STD_MODE;
 				}
 			}
-		} else if (_bounds.contains(mousePos)) {
+		} else if (_bounds.contains(mousePos) && _selector != -1) {
 			// Mouse is within the menu
 			// Erase the menu
 			banishWindow();






More information about the Scummvm-git-logs mailing list