diff --git a/Core/Dialog/PSPOskDialog.cpp b/Core/Dialog/PSPOskDialog.cpp index 7c0e045245..e8b7a32fb7 100755 --- a/Core/Dialog/PSPOskDialog.cpp +++ b/Core/Dialog/PSPOskDialog.cpp @@ -788,11 +788,7 @@ int PSPOskDialog::NativeKeyboard() std::wstring inputWide; - if(!host->InputBoxGetWString(titleText.c_str(), defaultText, inputWide)) - { - wcsncat(input, L"", wcslen(L"")); - } - else + if(host->InputBoxGetWString(titleText.c_str(), defaultText, inputWide)) { size_t maxInputLength = FieldMaxLength();