WIP: Argument | Shortcut support.

This commit is contained in:
StackZ committed 2020-11-16 13:28:45 +01:00
1 parent 24a7b90dea
commit f08bed5813
15 files changed
+294 -20

No files matched your search

+1 -1
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 : "");