We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c279b9 + 4e4855b commit fec832aCopy full SHA for fec832a
menu/menu_displaylist.c
@@ -1827,7 +1827,10 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
1827
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_BUILD_DATE),
1828
sizeof(entry));
1829
_len += strlcpy(entry + _len, ": ", sizeof(entry) - _len);
1830
- strlcpy(entry + _len, __DATE__, sizeof(entry) - _len);
+ _len += strlcpy(entry + _len, __DATE__, sizeof(entry) - _len);
1831
+#ifdef DEBUG
1832
+ _len += strlcpy(entry + _len, " (DEBUG)", sizeof(entry) - _len);
1833
+#endif
1834
if (menu_entries_append(list, entry, "",
1835
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE,
1836
0, 0, NULL))
0 commit comments