mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Debugger: Prompt with previous search string.
When searching, fill the text box with the previous search by default. Convenient when you want to edit it.
This commit is contained in:
parent
572c20b4cd
commit
2932a9995f
@ -1188,7 +1188,7 @@ void CtrlDisAsmView::search(bool continueSearch)
|
||||
|
||||
if (continueSearch == false || searchQuery[0] == 0)
|
||||
{
|
||||
if (InputBox_GetString(MainWindow::GetHInstance(),MainWindow::GetHWND(),L"Search for:","",searchQuery) == false
|
||||
if (InputBox_GetString(MainWindow::GetHInstance(), MainWindow::GetHWND(), L"Search for:", searchQuery, searchQuery) == false
|
||||
|| searchQuery[0] == 0)
|
||||
{
|
||||
SetFocus(wnd);
|
||||
|
@ -745,7 +745,7 @@ void CtrlMemView::search(bool continueSearch)
|
||||
u8* dataPointer = 0;
|
||||
if (continueSearch == false || searchQuery.empty())
|
||||
{
|
||||
if (InputBox_GetString(GetModuleHandle(NULL),wnd,L"Search for", "",searchQuery) == false)
|
||||
if (InputBox_GetString(GetModuleHandle(NULL), wnd, L"Search for", searchQuery, searchQuery) == false)
|
||||
{
|
||||
SetFocus(wnd);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user