From d1ff9ea0656a354c85b851a239f4aab6055352c0 Mon Sep 17 00:00:00 2001 From: lasers Date: Wed, 7 Dec 2016 14:07:22 -0600 Subject: [PATCH] replace hardcoded "lpl" with FILE_PATH_LPL_EXTENSION_NO_DOT --- menu/menu_displaylist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index eda543edc0..07f3b7e543 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3912,7 +3912,7 @@ static bool menu_displaylist_push_internal( menu_displaylist_reset_filebrowser(); info->type = 42; - strlcpy(info->exts, "lpl", sizeof(info->exts)); + strlcpy(info->exts, 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 +3925,7 @@ static bool menu_displaylist_push_internal( { menu_displaylist_reset_filebrowser(); info->type = 42; - strlcpy(info->exts, "lpl", sizeof(info->exts)); + strlcpy(info->exts, 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 +3939,7 @@ static bool menu_displaylist_push_internal( menu_displaylist_reset_filebrowser(); info->type = 42; - strlcpy(info->exts, "lpl", sizeof(info->exts)); + strlcpy(info->exts, 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 +3972,7 @@ static bool menu_displaylist_push_internal( menu_displaylist_reset_filebrowser(); info->type = 42; - strlcpy(info->exts, "lpl", sizeof(info->exts)); + strlcpy(info->exts, 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));