WIP: Argument | Shortcut support.

This commit is contained in:
StackZ 2020-11-16 13:28:45 +01:00
commit f08bed5813
15 changed files with 294 additions and 20 deletions

View file

@ -62,7 +62,7 @@ std::string Input::setkbdString(uint maxLength, const std::string &Text, const s
}
}
SwkbdButton ret = swkbdInputText(&state, temp, maxLength);
SwkbdButton ret = swkbdInputText(&state, temp, sizeof(temp));
temp[maxLength] = '\0';
return (ret == SWKBD_BUTTON_CONFIRM ? temp : "");