(m3u_file.c) Replace tab indents with spaces

This commit is contained in:
jdgleaver 2020-03-20 14:53:53 +00:00
parent e24274a314
commit c61f6aafc1

View File

@ -182,21 +182,21 @@ static bool m3u_file_load(m3u_file_t *m3u_file)
size_t len = (size_t)(1 + token_ptr - line);
/* Get entry_path segment */
if (len > 0)
if (len > 0)
{
memset(entry_path, 0, sizeof(entry_path));
strlcpy(
entry_path, line,
((len < PATH_MAX_LENGTH ?
strlcpy(
entry_path, line,
((len < PATH_MAX_LENGTH ?
len : PATH_MAX_LENGTH) * sizeof(char)));
string_trim_whitespace(entry_path);
}
/* Get entry_label segment */
token_ptr++;
if (*token_ptr != '\0')
token_ptr++;
if (*token_ptr != '\0')
{
strlcpy(entry_label, token_ptr, sizeof(entry_label));
strlcpy(entry_label, token_ptr, sizeof(entry_label));
string_trim_whitespace(entry_label);
}
}