Dehardcode size parameter for strlcpy call

This commit is contained in:
libretroadmin 2024-09-13 20:22:20 +02:00
parent 9135065bfc
commit bd8ed67205

View File

@ -431,7 +431,7 @@ static void video_shader_replace_wildcards(char *inout_absolute_path,
replace_text,
replace_len);
strlcpy(replaced_path, replace_output, PATH_MAX_LENGTH);
strlcpy(replaced_path, replace_output, sizeof(replaced_path));
free(replace_output);
}