From cce4aa9c866d8bb541bf55a4253e373dcd574a2a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 1 May 2019 00:21:50 +0200 Subject: [PATCH] (core_info.c) Use string_concat for constants --- core_info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core_info.c b/core_info.c index 37cc7d1827..e16a4d4748 100644 --- a/core_info.c +++ b/core_info.c @@ -71,13 +71,13 @@ static void core_info_list_resolve_all_extensions( strlcat(core_info_list->all_ext, core_info_list->list[i].supported_extensions, all_ext_len); - strlcat(core_info_list->all_ext, "|", all_ext_len); + string_concat(core_info_list->all_ext, "|"); } #ifdef HAVE_7ZIP - strlcat(core_info_list->all_ext, "7z|", all_ext_len); + string_concat(core_info_list->all_ext, "7z|"); #endif #ifdef HAVE_ZLIB - strlcat(core_info_list->all_ext, "zip|", all_ext_len); + string_concat(core_info_list->all_ext, "zip|"); #endif }