Remove a redundant wcsncat call.

Just makes the else statement the dominant branch.
This commit is contained in:
Lioncash 2013-09-04 15:05:28 -04:00
parent 1583bcb499
commit 78f6808ece

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