From 84edf0c6a776caf1d783e8a2ef6ed5a2225e29cf Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 3 Sep 2015 21:08:31 -0400 Subject: SHERLOCK: RT: Keep journal buttons disabled when searching --- engines/sherlock/tattoo/tattoo_journal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/sherlock/tattoo/tattoo_journal.cpp b/engines/sherlock/tattoo/tattoo_journal.cpp index 41de82871e..57d3d242e8 100644 --- a/engines/sherlock/tattoo/tattoo_journal.cpp +++ b/engines/sherlock/tattoo/tattoo_journal.cpp @@ -764,6 +764,7 @@ int TattooJournal::getFindName(bool printError) { cursorY = r.top + screen.fontHeight() + 12; drawControls(1); + disableControls(); // Backup the area under the text entry Surface bgSurface(r.width() - 6, screen.fontHeight()); @@ -771,7 +772,7 @@ int TattooJournal::getFindName(bool printError) { r.right - 3, cursorY + screen.fontHeight())); if (printError) { - screen.gPrint(Common::Point(r.left + (r.width() - screen.stringWidth(FIXED(TextNotFound))) / 2, cursorY), + screen.gPrint(Common::Point(r.left + (r.width() - screen.stringWidth(FIXED(TextNotFound))) / 2, cursorY), INFO_TOP, "%s", FIXED(TextNotFound)); } else { // If there was a name already entered, copy it to name and display it -- cgit v1.2.3