diff --git a/src/console.c b/src/console.c index 9578ec799..654adfc67 100644 --- a/src/console.c +++ b/src/console.c @@ -895,7 +895,7 @@ void CON_Responder_SWITCH_SwkbdDecidedEnter_cb(const char* str, SwkbdDecidedEnte CON_InputSetString(str); if (!input_len) - return true; + return; // push the command COM_BufAddText(inputlines[inputline]); diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 43c6dd152..54813a9ab 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -1234,6 +1234,7 @@ static INT16 typelines = 1; // number of drawfill lines we need when drawing the void CHAT_Close() { #ifdef __SWITCH__ + #include "switch/swkbd.h" Switch_Keyboard_Close(); #endif