Skip to content

Commit 06c3cd8

Browse files
authored
Fix subsystems sublabels (libretro#14843)
1 parent 52f34ee commit 06c3cd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

intl/msg_hash_us.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11939,7 +11939,7 @@ MSG_HASH(
1193911939
)
1194011940
MSG_HASH(
1194111941
MENU_ENUM_LABEL_VALUE_SUBSYSTEM_CONTENT_INFO,
11942-
" Current Content: %s"
11942+
"Current Content: %s"
1194311943
)
1194411944
MSG_HASH(
1194511945
MENU_ENUM_LABEL_VALUE_NO_NETPLAY_HOSTS_FOUND,

menu/cbs/menu_cbs_sublabel.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,9 +1381,10 @@ static int action_bind_sublabel_subsystem_load(
13811381
unsigned j = 0;
13821382
char buf[4096];
13831383

1384+
buf[0] = '\0';
1385+
13841386
for (j = 0; j < content_get_subsystem_rom_id(); j++)
13851387
{
1386-
strlcat(buf, " ", sizeof(buf));
13871388
strlcat(buf, path_basename(content_get_subsystem_rom(j)), sizeof(buf));
13881389
if (j != content_get_subsystem_rom_id() - 1)
13891390
strlcat(buf, "\n", sizeof(buf));

0 commit comments

Comments
 (0)