Don't crash on really long release notes

Also wrap URLs and such and don't scroll past the end
This commit is contained in:
Pk11
2022-03-04 19:43:51 -06:00
committed by Dark98
parent 0a2848158c
commit dd35c87590
3 changed files with 66 additions and 4 deletions
+3
View File
@@ -91,6 +91,9 @@ namespace StoreUtils {
void SortHandle(bool &asc, SortType &st);
/* Release Notes. */
size_t FindSplitPoint(const std::string &str, const std::vector<std::string> splitters);
void ProcessReleaseNotes(std::string ReleaseNotes);
void DrawReleaseNotes(const int &scrollIndex, const std::unique_ptr<StoreEntry> &entry);
void ReleaseNotesLogic(int &scrollIndex, int &storeMode);