mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Wrong usage of enum
This commit is contained in:
parent
91dd0756dd
commit
b0fcdf9db4
@ -1576,7 +1576,7 @@ static void xmb_init_horizontal_list(xmb_handle_t *xmb)
|
||||
strlcpy(info.path,
|
||||
settings->directory.playlist,
|
||||
sizeof(info.path));
|
||||
strlcpy(info.exts, FILE_PATH_LPL_EXTENSION_NO_DOT, sizeof(info.exts));
|
||||
strlcpy(info.exts, file_path_str(FILE_PATH_LPL_EXTENSION_NO_DOT), sizeof(info.exts));
|
||||
|
||||
if (menu_displaylist_ctl(DISPLAYLIST_DATABASE_PLAYLISTS_HORIZONTAL, &info))
|
||||
{
|
||||
|
@ -3912,7 +3912,9 @@ static bool menu_displaylist_push_internal(
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
strlcpy(info->exts, FILE_PATH_LPL_EXTENSION_NO_DOT, sizeof(info->exts));
|
||||
strlcpy(info->exts,
|
||||
file_path_str(FILE_PATH_LPL_EXTENSION_NO_DOT),
|
||||
sizeof(info->exts));
|
||||
strlcpy(info->label,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST),
|
||||
sizeof(info->label));
|
||||
@ -3925,7 +3927,9 @@ static bool menu_displaylist_push_internal(
|
||||
{
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
strlcpy(info->exts, FILE_PATH_LPL_EXTENSION_NO_DOT, sizeof(info->exts));
|
||||
strlcpy(info->exts,
|
||||
file_path_str(FILE_PATH_LPL_EXTENSION_NO_DOT),
|
||||
sizeof(info->exts));
|
||||
strlcpy(info->label,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST),
|
||||
sizeof(info->label));
|
||||
@ -3939,7 +3943,9 @@ static bool menu_displaylist_push_internal(
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
strlcpy(info->exts, FILE_PATH_LPL_EXTENSION_NO_DOT, sizeof(info->exts));
|
||||
strlcpy(info->exts,
|
||||
file_path_str(FILE_PATH_LPL_EXTENSION_NO_DOT),
|
||||
sizeof(info->exts));
|
||||
strlcpy(info->label,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST),
|
||||
sizeof(info->label));
|
||||
@ -3972,7 +3978,9 @@ static bool menu_displaylist_push_internal(
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
strlcpy(info->exts, FILE_PATH_LPL_EXTENSION_NO_DOT, sizeof(info->exts));
|
||||
strlcpy(info->exts,
|
||||
file_path_str(FILE_PATH_LPL_EXTENSION_NO_DOT),
|
||||
sizeof(info->exts));
|
||||
strlcpy(info->label,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST),
|
||||
sizeof(info->label));
|
||||
|
Loading…
x
Reference in New Issue
Block a user