mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Correct cleaning string and remove unused vars
This commit is contained in:
1 parent
89dab444c4
commit
fec708489a
32 files changed
+38
-48
No files matched your search
@@ -49,12 +49,12 @@ bool InputBox_GetString(HINSTANCE hInst, HWND hParent, const wchar_t *title, con
|
||||
if (defaultValue.size() < 255)
|
||||
textBoxContents = ConvertUTF8ToWString(defaultValue);
|
||||
else
|
||||
textBoxContents = L"";
|
||||
textBoxContents.clear();
|
||||
|
||||
if (title != NULL)
|
||||
windowTitle = title;
|
||||
else
|
||||
windowTitle = L"";
|
||||
windowTitle.clear();
|
||||
|
||||
if (IDOK == DialogBox(hInst, (LPCWSTR)IDD_INPUTBOX, hParent, InputBoxFunc)) {
|
||||
outvalue = ConvertWStringToUTF8(out);
|
||||
|
||||
Reference in new issue
Block a user