diff --git a/menu/menu_driver.h b/menu/menu_driver.h index bb0716e3e0..d0de72c588 100644 --- a/menu/menu_driver.h +++ b/menu/menu_driver.h @@ -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).