From b954aaf35d928a5009c592a1b7284ebe839fc78e Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Wed, 7 Jun 2023 16:16:37 +0100 Subject: [PATCH] dereference pointer. Closes #612 --- 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 94256023..491a3174 100644 --- a/nx/source/applets/swkbd.c +++ b/nx/source/applets/swkbd.c @@ -553,7 +553,7 @@ Result swkbdInlineGetImage(SwkbdInline* s, void* buffer, u64 size, bool *data_av if (!buffer || !size) return MAKERESULT(Module_Libnx, LibnxError_BadInput); if (_swkbdInlineHandleFinished(s)) { - data_available = false; + *data_available = false; return 0; }