Fix core descriptions not showing

In core downloader, description can be brought up by pressing
Select. However, for those cores where the description is longer
than what would be possible to display, nothing was displayed.
Several such cores exist, one example is Dosbox-Core.

Since this array is used for the messagebox, it is needless to make
it larger than what would be displayed anyway, and it makes other
safeguards act reasonably, so now there is info, just truncated.
This commit is contained in:
zoltanvb 2025-04-17 22:27:23 +02:00
parent c14016d6a2
commit 597405ba89
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ typedef struct
char file_name[NAME_MAX_LENGTH];
} last_start_content;
char menu_state_msg[PATH_MAX_LENGTH * 2];
char menu_state_msg[MENU_LABEL_MAX_LENGTH];
/* Scratchpad variables. These are used for instance
* by the filebrowser when having to store intermediary
* paths (subdirs/previous dirs/current dir/path, etc).