mirror of https://github.com/stella-emu/stella.git
fixed uppercase search in launcher
This commit is contained in:
parent
0dbb419c83
commit
c8102fdce9
|
@ -204,7 +204,7 @@ bool FileListWidget::handleText(char text)
|
||||||
{
|
{
|
||||||
if(BSPF::startsWithIgnoreCase(i, _quickSelectStr))
|
if(BSPF::startsWithIgnoreCase(i, _quickSelectStr))
|
||||||
// Select directories when the first character is uppercase
|
// Select directories when the first character is uppercase
|
||||||
if(std::isupper(_quickSelectStr[0]) ==
|
if((std::isupper(_quickSelectStr[0]) != 0) ==
|
||||||
(_iconList[selectedItem] == IconType::directory))
|
(_iconList[selectedItem] == IconType::directory))
|
||||||
break;
|
break;
|
||||||
selectedItem++;
|
selectedItem++;
|
||||||
|
|
Loading…
Reference in New Issue