Merge pull request #3631 from lioncash/master

Remove a redundant wcsncat call.
This commit is contained in:
Henrik Rydgård 2013-09-07 08:45:49 -07:00
commit 8996bac23e

View File

@ -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();