Revert "(Menu) change strncpy to strlcpy"

This reverts commit ba67623961.
This commit is contained in:
twinaphex 2018-08-16 16:39:20 +02:00
parent f8521a5580
commit 0175effb00

View File

@ -993,7 +993,7 @@ static bool menu_content_playlist_load(playlist_t *playlist, size_t idx)
path_check = (char *)
calloc(strlen(path_tolower) + 1, sizeof(char));
strlcpy(path_check, path, strlen(path_tolower));
strncpy(path_check, path, strlen(path_tolower));
valid_path = path_is_valid(path_check);