dup_menu_sections: initialize enabled_item_count for skipped sections

pull/1134/head
nick black 4 years ago
parent d662bd334d
commit b9f32cf6b5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -185,6 +185,7 @@ dup_menu_sections(ncmenu* ncm, const ncmenu_options* opts, int* totalwidth, int*
ncm->sections[i].bodycols = 0;
ncm->sections[i].itemselected = -1;
ncm->sections[i].shortcut_offset = -1;
ncm->sections[i].enabled_item_count = 0;
}
}
if(ncm->sectioncount == 1 && rightaligned){

Loading…
Cancel
Save