From c61f6aafc10495fe71db0adb2ec9d8e83f976a0c Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Fri, 20 Mar 2020 14:53:53 +0000 Subject: [PATCH] (m3u_file.c) Replace tab indents with spaces --- libretro-common/formats/m3u/m3u_file.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libretro-common/formats/m3u/m3u_file.c b/libretro-common/formats/m3u/m3u_file.c index 8d6e52ba1e..7da44b001b 100644 --- a/libretro-common/formats/m3u/m3u_file.c +++ b/libretro-common/formats/m3u/m3u_file.c @@ -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); } }