[Scummvm-git-logs] scummvm master -> df0c373120243afa6aa2bb14138528ef565ba01f

sev- noreply at scummvm.org
Sun May 29 20:15:11 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:
df0c373120 GUI: Fix game name jumping shortcut. Fixes bug #13525


Commit: df0c373120243afa6aa2bb14138528ef565ba01f
    https://github.com/scummvm/scummvm/commit/df0c373120243afa6aa2bb14138528ef565ba01f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-05-29T22:14:52+02:00

Commit Message:
GUI: Fix game name jumping shortcut. Fixes bug #13525

Changed paths:
    gui/widgets/list.cpp


diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp
index c2d9a305e05..fa56adcd598 100644
--- a/gui/widgets/list.cpp
+++ b/gui/widgets/list.cpp
@@ -349,7 +349,7 @@ bool ListWidget::handleKeyDown(Common::KeyState state) {
 			int bestMatch = 0;
 			bool stop;
 			for (Common::U32StringArray::const_iterator i = _list.begin(); i != _list.end(); ++i) {
-				const int match = matchingCharsIgnoringCase(i->encode().c_str(), _quickSelectStr.c_str(), stop, _dictionarySelect);
+				const int match = matchingCharsIgnoringCase(stripGUIformatting(*i).encode().c_str(), _quickSelectStr.c_str(), stop, _dictionarySelect);
 				if (match > bestMatch || stop) {
 					_selectedItem = newSelectedItem;
 					bestMatch = match;




More information about the Scummvm-git-logs mailing list