File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1114,12 +1114,14 @@ noreturn void _menu(bool first_run) {
11141114 interface_help_colour_bright [3 ] = interface_help_colour_str [0 ];
11151115 }
11161116
1117+ bool custom_branding = false;
11171118 {
11181119 char * tmp = config_get_value (NULL , 0 , "INTERFACE_BRANDING" );
11191120 if (tmp != NULL ) {
11201121 size_t len = strlen (tmp ) + 1 ;
11211122 menu_branding = ext_mem_alloc (len );
11221123 memcpy (menu_branding , tmp , len );
1124+ custom_branding = true;
11231125 }
11241126 }
11251127 if (menu_branding == NULL ) {
@@ -1158,7 +1160,7 @@ noreturn void _menu(bool first_run) {
11581160#endif
11591161 }
11601162
1161- if (secure_boot_active ) {
1163+ if (secure_boot_active && ! custom_branding ) {
11621164 const char * suffix = ", Secure Boot)" ;
11631165 size_t suffix_len = strlen (suffix ) + 1 ;
11641166 size_t old_len = strlen (menu_branding );
You can’t perform that action at this time.
0 commit comments