Merge pull request #14057 from sonninnos/fill-title

Reformat fill titles
This commit is contained in:
LibretroAdmin 2022-06-18 07:14:55 +01:00 committed by GitHub
commit 1dc7481139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@
{ \
const char *title = msg_hash_to_str(lbl); \
if (!string_is_empty(path) && !string_is_empty(title)) \
fill_pathname_join_delim(s, title, path, ' ', len); \
snprintf(s, len, "%s: %s", title, path); \
else if (!string_is_empty(title)) \
strlcpy(s, title, len); \
return 1; \