From 3a14e9094a468eafd386408fab8ab8faf8f2d10f Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 28 Mar 2019 21:01:04 -0400 Subject: [PATCH] Fixed error handling with appletHolderPushInData() for tmem-storage in swkbdShow(). --- nx/source/applets/swkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/applets/swkbd.c b/nx/source/applets/swkbd.c index 9c618c34..a58f7c1a 100644 --- a/nx/source/applets/swkbd.c +++ b/nx/source/applets/swkbd.c @@ -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);