Fixed error handling with appletHolderPushInData() for tmem-storage in swkbdShow().

This commit is contained in:
yellows8 2019-03-28 21:01:04 -04:00
parent b463693094
commit 3a14e9094a
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -287,7 +287,7 @@ Result swkbdShow(SwkbdConfig* c, char* out_string, size_t out_string_size) {
if (R_SUCCEEDED(rc)) {
if (R_SUCCEEDED(rc)) rc = appletCreateTransferMemoryStorage(&storage, c->workbuf, c->workbuf_size, true);
appletHolderPushInData(&holder, &storage);
if (R_SUCCEEDED(rc)) rc = appletHolderPushInData(&holder, &storage);
}
if (R_SUCCEEDED(rc)) rc = appletHolderStart(&holder);