Skip to content

Commit 597405b

Browse files
committed
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.
1 parent c14016d commit 597405b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

menu/menu_driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ typedef struct
449449
char file_name[NAME_MAX_LENGTH];
450450
} last_start_content;
451451

452-
char menu_state_msg[PATH_MAX_LENGTH * 2];
452+
char menu_state_msg[MENU_LABEL_MAX_LENGTH];
453453
/* Scratchpad variables. These are used for instance
454454
* by the filebrowser when having to store intermediary
455455
* paths (subdirs/previous dirs/current dir/path, etc).

0 commit comments

Comments
 (0)