mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Code readability, vec reserve() and remove excess c_str()
This commit is contained in:
1 parent
fec708489a
commit
b304551747
22 files changed
+41
-34
No files matched your search
@@ -195,7 +195,7 @@ BOOL CMemoryDlg::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
|
||||
switch (HIWORD(wParam)) {
|
||||
case BN_CLICKED:
|
||||
GetWindowText(searchBoxHdl, temp, 255);
|
||||
std::vector<u32> results = memView->searchString(ConvertWStringToUTF8(temp).c_str());
|
||||
std::vector<u32> results = memView->searchString(ConvertWStringToUTF8(temp));
|
||||
if (results.size() > 0){
|
||||
searchBoxRedraw(results);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user