Core, UI, Windows: Removed excess converting C-string in params

This commit is contained in:
German Semenov committed 2023-09-15 13:54:11 +03:00
1 parent c2bf09744a
commit c498a42e92
10 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -675,7 +675,7 @@ UI::EventReturn SavedataScreen::OnSearch(UI::EventParams &e) {
auto di = GetI18NCategory(I18NCat::DIALOG);
if (System_GetPropertyBool(SYSPROP_HAS_TEXT_INPUT_DIALOG)) {
System_InputBoxGetString(di->T("Filter"), searchFilter_, [](const std::string &value, int ivalue) {
System_PostUIMessage("savedatascreen_search", value.c_str());
System_PostUIMessage("savedatascreen_search", value);
});
}
return UI::EVENT_DONE;